Paste: Reading standard input

Author: RSwarbrick
Mode: text
Date: Sat, 20 Dec 2008 21:45:50
Plain Text |
The file test.factor is as follows:
<<<
USING: io namespaces prettyprint ;

input-stream get lines .
>>>

The file input.txt is as follows:
<<<
A
B
C
>>>

And the command line (and response) is:
rupert:~/src/mine/xoxo/factor $ /home/rupert/src/not-mine/languages/factor/factor -quiet -run=none -e="$(cat test.factor)" <input.txt 
fatal_error: unexpected eof on fd: 0

(that got wrapped, but the command line is everything up to "input.txt")

New Annotation

Summary:
Author:
Mode:
Body: