Re: EOF: how to generate one in a string
| From: | Marek Kilimajer | Date: | Wed, 08 Jan 2003 10:03:30 +0000 |
| Subject: | Re: EOF: how to generate one in a string | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130738@lists.php.net to get a copy of this message | ||
No, there is no such value as far as I know, you may try `/path/prog $arg < somefile`, but
I doubt it will be different. What prog is it anyway. If it is passwd, I know this behaves
somewhat different, but I think there is still some workaround, you should as at a linux list.
Jean-Christian Imbeault wrote:
Marek Kilimajer wrote:$result =That didn' work ... don't know why. Isn't there a way to say echo "EOF"? There must be a way to specify the ascii or hex value for EOF in an echo statement no? Jcecho | /path/prog $arg; should work