a tab delimited csv file
I think you mean "a tsv file". A csv file is, by definition, comma delimited. A better version would probably be something like this:
netstat -e | perl -ple 's/\s\s+/,/' > file.csv
. . . and, of course, neither of our versions are exactly perfect/complete.
|
- apotheon
CopyWrite Chad Perrin |
In reply to Re^2: Perl solution
by apotheon
in thread Perl solution
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |