Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Oct 2004 12:39:43 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        mrb@bmyster.com
Cc:        questions@freebsd.org
Subject:   Re: shell script
Message-ID:  <200410051639.i95Gdic15825@clunix.cl.msu.edu>
In-Reply-To: <1357.65.175.209.179.1096993378.squirrel@new.host.name> from "Brent Bailey" at Oct 05, 2004 12:22:58 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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.

////jerry

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410051639.i95Gdic15825>