shell script

Jerry McAllister jerrymc at
Tue Oct 5 09:39:59 PDT 2004

> 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

Use Perl or similar.  It will be right up its alley.


> anyone have any suggestions ?
> -- 
> Brent Bailey

More information about the freebsd-questions mailing list