xref
: /
freebsd
/
bin
/
sh
/
tests
/
execution
/
fork3.0
(revision 38829592dc77e9ead4259785e0bfb93bd4c2fe34)
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