# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #121720]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=121720 >


$ ./perl6-m --version
This is perl6 version 2014.04-86-gf724dd5 built on MoarVM version
2014.04-28-geadd2c8$
$ echo 'foo' > input
$ cat input | ./perl6-m -e '.say for lines()' # as expected
foo
$ ./perl6-m -e '.say for lines()' < input |head -n 20|wc -l
20


WTF? Supplying the input through a redirect instead of a pipe causes
rakudo-m to ready infintely many empty strings from lines().

Reply via email to