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