I wrote:

> >     cat /etc/passwd | awk -F: '($2 > 100) {print $1}' >/etc/allusers


Gaal Yahas wrote:

> Join the Useless Use of cat Crazies! Rewrite that as
> 
>       awk -F: '($3 > 100) {print $1}' < /etc/passwd > /etc/allusers
                                        ^^^^^^^^^^^^^^^
I would NEVER suggest that to anyone. If they were to hit the wrong key,
as in "> /etc/passwd", they would really be in deep do-do.

Not that I've ever known anyone who would do that, nope, never, not me. :-)

Geoff.

-- 
Geoffrey S. Mendelson
Tel:  (03) 6944-211  Fax: (03) 6944-225 Email: [EMAIL PROTECTED] 


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to