Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^7: improve script

by afoken (Chancellor)
on Nov 29, 2015 at 12:02 UTC ( [id://1148806]=note: print w/replies, xml ) Need Help??


in reply to Re^6: improve script
in thread improve script

Yes, except it's printing to STDERR not STDOUT.

Far more than you ever wanted to know about shell redirections

That's complicating things if sh has to capture the output.

No, only that way allows to cleanly separate usable data (STDOUT) from error messages (STDERR), without having to use heuristics (in other words: automated guessing).

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

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

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

    No recent polls found