[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: man grep




you. the man.

________________________
Lunar Media Incorporated
what a wicked web we weave
http://www.lunarmedia.net
1 . 8 0 0 . 2 5 2 . 8 2 2 1  

On Sat, 5 Feb 2000, Jay Link wrote:

> 
> 
> > > > For example, I am trying to get grep to look for a number beween 1-150 in
> > > > the third field of /etc/passwd with a delimiter of :
> 
> The Bash method:
> 
> while read A; do B=$(echo $A | cut -d':' -f3); if [ $B -le 150 ];
> then echo $A; fi; done < /etc/passwd
> 
> 
> -J
> 
> 
> --
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.
> 


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.