[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] Script needed
On Thu, 01 Jun 2000, Tony Cook generated:
>perl -F: -anle 'print $F[0]' </etc/passwd
>
>but I like the cut solution best.
just because it hasn't been mentioned yet:
sed 's/\:.*$//'
--
jamesw
Heuristics are bug ridden by definition. If they didn't have bugs, then
they'd be algorithms.
------------------------------
jamesw@nospam.student.unsw.edu.au
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text