> > Actually, cut or awk are usually the tools you would use for
> > extracting columns from a text file:
> >
Yeah! Awk rules!
> > cut -d: -f1 < /etc/passwd
>
>
> Glad to know something works, but can you explain this command, Does it
> produce a file called cut, from field one?
Cut (display) the first field, using ":" as a delimiter. Outputs to
STDOUT.
The same, but with Awk love:
cat /etc/passwd | awk -F : '{ print $1 }'
_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list