[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] shell scripting
- Subject: [ale] shell scripting
- From: esoteric at denali.atlnet.com (Wandered Inn)
- Date: Thu, 16 Nov 2000 05:37:25 -0500
Ken Nagorski wrote:
>
> Sure,
> grep prints it if you find it. I wanted the ones grep didn't
> find. That is why I was using the echo, if you don't find a match let me
> know.
Like I said, I must have been tired. Try this:
for rec in $(<domains); do
grep $rec shared-ips || echo $rec
done
>
> Thanks
> Ken
--
Until later: Geoffrey esoteric at denali.atlnet.com
"Great spirits have always found violent opposition from mediocre minds.
The
latter cannot understand it when a man does not thoughtlessly submit to
hereditary prejudices but honestly and courageously uses his
intelligence."
- Albert Einstein
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.