fork3.0
[
plain text
]
# $FreeBSD$ result=$(${SH} -c 'f() { ps -p $$ -o comm=; }; f') test "$result" = "ps"