[102353] in RedHat Linux List
RE: parsing text files
daemon@ATHENA.MIT.EDU (Charles Galpin)
Wed Dec 2 15:39:27 1998
Date: Wed, 2 Dec 1998 15:41:00 -0500
From: Charles Galpin <cgalpin@lighthouse-software.com>
To: Ed Lazor <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
If you have a nice delimeter like a tab, the command 'cut' will do this
===== Original Message from Ed Lazor <redhat-list@redhat.com> at 12/02/98
3:33 pm
>Is there a unix command that I can use to parse a column of text from a
>file?
>For example, a command that would allow me to parse the column titled
>address
>from a file with the following information and output it to another file?
>
>Name Address Town
>bob 123 A st. Somewhere
>steve 123 B st. Somewhere
>joe 123 C st. Somewhere
>gloria 123 D st. Somewhere
>
-- Charles Galpin <cgalpin@lighthouse-software.com>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.