in reply to Grabbing tokens
I got what testers.sh echoed back in $ret_val. As well, I verified that the command that testers.sh executed (`/bin/cp file1 file2`) worked too. So, the execution was not hindered, and the output of testers.sh was brought back into my Perl program for parsing. This should do it.#!/usr/local/bin/perl $prg = "testers.sh"; $ret_var = <`$prg`>; print "\n\n$ret_var\n\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Grabbing tokens
by Skeeve (Parson) on May 14, 2003 at 08:58 UTC | |
by cbro (Pilgrim) on May 14, 2003 at 12:43 UTC | |
by Skeeve (Parson) on May 14, 2003 at 13:03 UTC | |
by cbro (Pilgrim) on May 14, 2003 at 13:34 UTC | |
by Skeeve (Parson) on May 14, 2003 at 13:40 UTC | |
|