Syntactic Confectionery Delight | |
PerlMonks |
Re: How to awk a grep result in-scriptby marioroy (Prior) |
on Nov 16, 2019 at 03:29 UTC ( [id://11108773]=note: print w/replies, xml ) | Need Help?? |
Hi, ShipWreck Here are Perl snippets resembling awk and grep. The open statement emits a warning to the terminal if the command doesn't exist. Thus the reason simply exiting with status 127 matching the status in shell. Shell
Perl (no delays, fast like awk)
Perl using Proc::ProcessTable (suggestion by haukex and 1nickt)
Regards, Mario
In Section
Seekers of Perl Wisdom
|
|