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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
