xref
: /
freebsd
/
bin
/
sh
/
tests
/
execution
/
fork3.0
(revision 745c6c0431d01b4fc3247f4eac08a2181d71e008)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
2
result=$(${SH} -c 'f() { ps -p $$ -o comm=; }; f')
3
test "$result" = "ps"
4