Hi
I don't now, maybe i found bug in new REBOL/Core 2.3. I wrote script (test.r) like
this:
;------
REBOL []
in: copy system/ports/input
print in
;------
or like this
;------
REBOL []
b: make string! 0
forever [
a: copy ""
read-io system/ports/input a 4095
either (length? a) > 0 [
append b a
] [
break
]
]
print b
;------
In shell write:
cat textfile.txt | ./test.r
This work fine in REBOL/Core 2.2 but doesn't work on REBOL/Core 2.3.
This is bug?? Maybe anyone know solution?
Grettings from Poland
P.S. tested on FreeBSD 2.2 and 4.0
Marek "Juha" Piałucha
mailto:[EMAIL PROTECTED] - http://www.tnet.pl/~marek
phone: +48502837282