in reply to checking for piped input data
In script.pl -y goodbye | script.pl -x, the effect of the "|" in the shell command is to provide the STDOUT of the first script as the STDIN of the second script, just as if you'd written:
script.pl -y goodbye >tempfile script.pl -x <tempfile
So for this case you don't need to know anything about pipes and IPC, just read from STDIN.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: checking for piped input data
by Anonymous Monk on May 03, 2023 at 13:33 UTC |