ps -l -p $$ | grep PPID | perl -ane '$i=0; while($i<@F && $F[$i] ne q(PPID)){$i++}; print $i if $i < @F'
In reply to Re: -n and -p suck up ARGV no matter what
by mpersico
in thread -n and -p suck up ARGV no matter what
by mpersico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |