in reply to Re: Re: Re: Re: Netstat summary and Perl?
in thread Netstat summary and Perl?
Sure you could. Buy why? You can do that in Perl without spawning off a process for each grep/sed/awk operation I am performing. Comparision:
just used three processes...netstat -s | grep 'Trans' | awk '{... ehh... whatever...
used two. I know that is a weak example, but I hope it clarifies my position.open PIPE... whatever... my @line = grep 'Trans',<PIPE>; close PIPOE
Plan your work... work your plan...
|
|---|