Pathologically Eclectic Rubbish Lister | |
PerlMonks |
How do I use the output of one perls script as the input of another on the commandline? like a pipelineby Gretter (Novice) |
on May 14, 2009 at 19:00 UTC ( [id://764143]=perlquestion: print w/replies, xml ) | Need Help?? |
Gretter has asked for the wisdom of the Perl Monks concerning the following question:
SOLVED: Thanks for all the comments. Especially to thelonius. Original question: I've done a lot of searches on google, but apparently I don't know the terms to search for. I hope this gives and idea of what I want. Script one: Script two: In bash I would then write:<br ./one.pl "one" | ./two.pl ... and hope for the output of: "one and two" I would pass @ and not $ in the real code.
Back to
Seekers of Perl Wisdom
|
|