"xargs" allows you to use the output of one command as the argument to another command. For instance :
<Command Name> | xargs perl myscript.pl
<Command Name> | xargs perl myscript.pl
This blog provides some ready-made tips, tricks, tweaks & interview questions-answers on C, C++, Perl, Shell Scripting and UNIX Commands.
No comments :
Post a Comment