Unexepcted behavior from read and cat
Johan Dowdy
jdowdy at ncircle.com
Mon May 12 19:22:51 UTC 2008
For loops are your friend.
I'd do something like:
for i in `cat iplist`
do dig +short -x $I
done
-J
On 5/12/08 11:59 AM, "Paul Schmehl" <pauls at utdallas.edu> wrote:
> dig +short -x `cat iplist`
--
Johan Dowdy - CISSP
Senior Systems Administrator
nCircle Network Security
415.318.2880
"Any sufficiently advanced technology is indistinguishable from magic."
-- Arthur C. Clarke
More information about the freebsd-questions
mailing list