At 05:29 PM 4/5/00 -0700, Andrew Edelstein wrote:
On Thu, Apr 06, 2000 at 01:27:27AM +0100, Lars Hecking wrote:
ps <options> | grep -v formail | grep -v grep
or maybe
ps <options> | egrep -v "formail|egrep"
grep-v [f]ormail
should take care of it.
I may be wrong, but I thought the original poster was
looking for a way to HIDE formail's args from OTHER people's
ps commands. (I imagine the purpose is to avoid exposing
something in headers not meant for the world to see.)
For example, in SOME UNIXes, it is (or once was) possible for
programs to "clobber" argv[0], argv[1], etc. at the start (after
processing/copying the args), which would accomplish this.
Stan