On Wed, 2005-02-02 at 11:43 -0800, Jeremy C. Reed wrote:
> > In fact, the final solution - in case anyone wants it...
> >
> > getent passwd | awk -F: '$3 > 499 && $3 < 10000 { print $1 }' \
> > | grep -v '\$' > /root/scripts/users
>
> By the way, awk can check for the dollar sign also.
>
> Something like ... && $1 !~ /\$/
---
in a way I'm glad that ^^^^^^^^^^ doesn't make much sense to me
I sort of get it... and word 1 not escaped literal $
I am beginning to worry about me - I think I need to kill some brain
cells fast.
Craig
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss