On 2004-10-05 12:23, Brent Bailey <[EMAIL PROTECTED]> wrote: > i need to write a for-loop that will read the 1st line in a aliase file > and grep a passwd file for that user...if that user doesnt exsist in the > passwd file go the 2nd line and grep the passwd file for that user ...and > so on > > anyone have any suggestions ?
: cat /etc/mail/aliases | \ : while read line ;do : echo $line : done But as someone else suggested Perl is a lot better for this task. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
