I was wondering why the first line give me output but the second
don't, any clue!!

1. while sleep 2;do printf "1\n1\n"|perl -e 'while ( <> )
{ print; }';done|perl -e 'while ( <> ) { print; }'

2. while sleep 2;do printf "1\n1\n"|perl -e 'while ( <> )
{ print; }';done|perl -e 'while ( <> ) { print; }'|cat


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to