Unexepcted behavior from read and cat
pauls at utdallas.edu
Mon May 12 19:08:06 UTC 2008
--On Monday, May 12, 2008 13:59:47 -0500 Paul Schmehl <pauls at utdallas.edu>
> Sure, I can edit the file and prepend +short -x to each line, but by then I
> might as well just do them individually.
> What am I missing?
(read line; dig +short -x `echo $line`; while read line; do dig +short -x `echo
$line`; done) < iplist
Paul Schmehl (pauls at utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
More information about the freebsd-questions