We don't bite newbies here... much | |
PerlMonks |
pipe issue (linux)by leostereo (Beadle) |
on May 05, 2016 at 19:49 UTC ( [id://1162297]=perlquestion: print w/replies, xml ) | Need Help?? |
leostereo has asked for the wisdom of the Perl Monks concerning the following question:
Hi guys, I was trying to pipe two perl scripts I have a data provider and a data process scritp. First the data provider is dhcp_line_dispacher.pl and , line_process.pl is: When I run them individually they work ok, but when I try to pipe them doing: ./dhcp_line_dispacher.pl | ./line_process.pl Nothing happens. So I test the ./dhcp_line_dispacher.pl and realized than I can`t grab the output. For example from cli, I do: ./dhcp_line_dispacher.pl | grep ACK And can not get the output in real time. What should I do to get the output and then process it in other script? regards, Leo.
Back to
Seekers of Perl Wisdom
|
|