Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- extraction of hostnames in hostfile
January 2, 2006, 6:11 am
rate this thread
Re: extraction of hostnames in hostfile
perl -lane 'print $F' /hosts
There are 3 ways of executing external programs, described in
the answer to this Perl FAQ:
How can I capture STDERR from an external command?
Tad McClellan SGML consulting
email@example.com Perl programming
Fort Worth, Texas