[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sendmail questions
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: gsm@bfr.co.il
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il