Tuesday, August 7, 2012

How do you pass output of a command as a parameter to Perl script?

"xargs" allows you to use the output of one command as the argument to another command. For instance :

<Command Name> | xargs perl myscript.pl

No comments :