Welcome to WebmasterWorld Guest from 18.104.22.168
I have the following question.
I have a unix script script1 which invokes a perl script and gets some output from it. The perl script has one print statement at the end which sends the data to stdout
print STDOUT $log;
my unix pipeline looks like this:
script 1 ¦ script 2
how can script 2 refer to the output from script 1 (which is output from a perl script) .. is it with $1? or is that just command line variables?
any help appreciated,