On Tue, Jun 19, 2007 at 11:09:30AM -0700, Roman Shaposhnick wrote:
On Tue, 2007-06-19 at 13:38 -0400, Kris Maglione wrote:The other problems you mentioned seem trivial. Redirecting greps stderr to /dev/null solves the second 2. There are a number of simple ways to solve the first.What about the race? That's always been one of my personal pet peeves as far as any shell programming goes.
Redirecting to /dev/null. The only real issue with the race is that there's an error message printed. Hiding the error message from grep is basically the same as not printing it in lsof.c.
-- Kris Maglione Things equal to nothing else are equal to each other.
pgp3EeV6rR8EL.pgp
Description: PGP signature
