Erl.exe input

Aldo Calpini dada.list@REDACTED
Fri Jun 14 13:54:54 CEST 2002


Bengt Kleberg wrote:
> is this what you are doing? (from the unix command prompt i pipe 1+1 to
> erl)
> 
> ; echo 1 + 1. | erl
> Eshell V5.0.2.15  (abort with ^G)
> 1> 2
> ** Terminating erlang **

but this doesn't work, at least on windows:

; echo 1 + 1. > inputfile
; erl < inputfile
Eshell V5.1  (abort with ^G)
1> 2
2>
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
       (v)ersion (k)ill (D)b-tables (d)istribution

I had to break erlang manually, because it just doesn't stop
at the end of the redirected input. this is a bug IMHO.

cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;




More information about the erlang-questions mailing list