Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to 'perl -p' ne 'cat'

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://171345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-24 23:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found