laziness, impatience, and hubris | |
PerlMonks |
Re: 'perl -p' ne 'cat'by stefp (Vicar) |
on Jun 03, 2002 at 22:00 UTC ( [id://171345]=note: print w/replies, xml ) | Need Help?? |
My remark is not specific to the problem that grinder runs into. Many commands default to read the standard output when given
no file parameters. If this is not the desired beheavior, on systems that support it, just append
/dev/null, so if your list of file parameters happens to
be empty, the command will not defaults to STDIN because the
/dev/null device acts like an empty file.
-- stefp -- check out TeXmacs wiki
In Section
Meditations
|
|