[KLUG Members] Parsing a large file

Andrew Eidson members@kalamazoolinux.org
Fri, 6 Feb 2004 17:00:18 -0500


Hmm.. the -c switch under help says it is for character not column.. oh
well -f did what I wanted so no sweat..

-----Original Message-----
From: members-admin@kalamazoolinux.org
[mailto:members-admin@kalamazoolinux.org]On Behalf Of Bruce Smith
Sent: Friday, February 06, 2004 4:54 PM
To: KLUG
Subject: RE: [KLUG Members] Parsing a large file


> I spoke to soon.. after looking at the help you need cut -f   not cut -c..
> but it does what I need it to do.. thanks

You said "columns" (-c), not "fields" (-f) in your original email.

Columns don't work so good if you have tab characters in the file.
But that's what commands like 'expand' are for.  :-)

(I don't need no steek'n perl/awk/python/... for most things ;)

  - BS

_______________________________________________
Members mailing list
Members@kalamazoolinux.org