Re[2]: Read program from standard input
- Posted by aku at inbox.as
Oct 17, 2001
I want to do:
bzip2 -cd cth.ex.bz2 | ex
so I needn't to make a temporary file.
Or I can hide the source by outputting the program direcly
to ex.exe.
Will it featured in 2.3 ?
_____________________________________________________________________
D> Hi Aku,
D> you are correct. EX only runs the file that is on its command line. It never
D> reads from STDIN to get the program source code text.
D> But why do you want to do this?
>> I tried:
>>
>> ex < cth.ex
D> why not just do ...
D> ex cth.ex
D> ????
D> Derek.
D> ----- Original Message -----
D> From: <aku at inbox.as>
D> To: "EUforum" <EUforum at topica.com>
D> Sent: Wednesday, October 17, 2001 10:46 PM
D> Subject: Read program from standard input
>>
>> I can not execute an eu program using ex but the
>> program is taken from standard input.
>>
>> I tried:
>>
>> ex < cth.ex
>> type cth.ex | ex
>>
>> ex con < cth.ex
>> type cth.ex | ex con
>>
>> but fails.
>>
>> How can I do that?
>>
>> Thanks!
>>
>>
|
Not Categorized, Please Help
|
|