[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] another scripting question
- Subject: [ale] another scripting question
- From: esoteric at denali.atlnet.com (Wandered Inn)
- Date: Wed, 01 Dec 1999 16:00:25 -0500
Zhongbin Yu \"jerry\" wrote:
>
> cat /etc/passwd | cut -d ":" -f 1
> will do what you want.
You know you really don't want to pipe unless you have to. It's another
process, so:
cut -d ":" -f1 /etc/passwd
do the same.
So will:
awk -F':' '{print $1}' /etc/passwd
--
Until later: Geoffrey esoteric at denali.atlnet.com
It should be illegal to yell "Y2K" in a crowded economy.
-- Larry Wall, creator of the programming language Perl