Erl.exe input

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Fri Jun 14 15:02:01 CEST 2002


hi,

it does work on Windows if running in a CygWin shell, not at the DOS prompt.

Vlad

----- Original Message -----
From: "Aldo Calpini" <dada.list@REDACTED>
To: "Vlad Dumitrescu" <vlad_dumitrescu@REDACTED>;
<erlang-questions@REDACTED>
Cc: <eleberg@REDACTED>
Sent: Friday, June 14, 2002 1:54 PM
Subject: Re: Erl.exe input


>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;
>


_________________________________________________________________
Skicka och ta emot Hotmail-meddelanden på din mobilenhet: 
http://mobile.msn.com




More information about the erlang-questions mailing list