B19: perl does not support <STDIN>

Patrice M.I. Parmentier ppa@itmasters.com
Fri Nov 13 07:40:00 GMT 1998


I write the trivial perl script:

print while(<STDIN>);

and run it with perl 5.00502 (ActiveState distribution AND my own
compilation without PERL_OBJECT) on NT4 (sp3). While the script works
properly on DOS shells, it does not work on bash: the script immediately
stops without reading anything from the keyboard...

PS: the same script works with perl binary distribution 5.00402.
Actually, i feel that the bug comes from bash on NT, since the scripts
always works in other conditions.


More information about the Cygwin mailing list