script to combine colums from multiple files
Ian Petersen
ispeters-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Sep 12 14:53:04 UTC 2008
On Fri, Sep 12, 2008 at 10:42 AM, Neil Watson
<tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org> wrote:
> How would I go about cutting selected columns from multiple files and
> combining them into single file? I so used to processing files line by
> line that this problem escapes me.
I think you need cut(1) and paste(1).
>From man cut:
cut - remove sections from each line of files
>From man paste:
paste - merge lines of files
I think the tools are aptly named. :)
Ian
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list