oceanic has asked for the wisdom of the Perl Monks concerning the following question:
I'm sure some of you can help me with this - it seems like there must be a really simple solution, I just don't know it because of my inexperience ...
I'm using backticks to execute a command in my script, and the command (it's another perl script) is designed to output a whole heap of text to stdout (basically using bzcat).
I'm running my script and trying to capture the output of the backtick command, and feed that out through a pipe to the current stdout. Does that make sense ?
However, my problem is that whenever I run my script, I can see the command that I have called running on the system, but the text that it generates as output is never shown on my stdout, and so I'm unable to pipe it to the program I'm trying to run.
Can anybody help ?
I'm willing to paste code or explain myslef more clearly if needs be ... :->
Drew
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: lines written to stdout by a backtick command
by sk (Curate) on Aug 15, 2005 at 06:19 UTC | |
by oceanic (Novice) on Aug 15, 2005 at 07:26 UTC | |
by tlm (Prior) on Aug 15, 2005 at 08:54 UTC | |
|
Re: lines written to stdout by a backtick command
by GrandFather (Saint) on Aug 15, 2005 at 05:43 UTC | |
by oceanic (Novice) on Aug 15, 2005 at 06:19 UTC | |
by oceanic (Novice) on Aug 15, 2005 at 05:58 UTC | |
|
Re: lines written to stdout by a backtick command
by anonymized user 468275 (Curate) on Aug 15, 2005 at 11:04 UTC | |
|
Re: lines written to stdout by a backtick command
by oceanic (Novice) on Aug 15, 2005 at 06:33 UTC | |
by sk (Curate) on Aug 15, 2005 at 06:44 UTC |