in reply to Re: passing string to stdin on exec-command
in thread passing string to stdin on exec-command
my $str = q(Aren't you glad you listened to Abigail and not Roger?); system("echo '$str' | cat"); __output__ sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: passing string to stdin on exec-command
by Abigail-II (Bishop) on Nov 05, 2003 at 14:33 UTC | |
by merlyn (Sage) on Nov 05, 2003 at 16:48 UTC | |
|
Re: Re: Re: passing string to stdin on exec-command
by Roger (Parson) on Nov 05, 2003 at 14:16 UTC |