Ubuntu-Chicago OT: sed and tab-delimited file

Eric O'Neal fyedernoggersnodden at gmail.com
Tue Sep 19 17:24:11 BST 2006


Yo;

I have a series of comma-delimited text files with fourteen columns of data
and several rows.  I want to use a short shell script to strip them of the
last 9 columns, leaving the same file but with just five of its columns.  I
can do it in C++, but that seems like overkill.  How would I go about doing
it with sed or a similar utility?

SigmaX

-- 
My home page:  http://www.SigmaX.org

"ttocs laeno cire oshkosh b'gosh fyedernoggersnodden nicht stein bon
probiscus"

"Education is what remains after one has forgotten everything he learned in
school"
              -- Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-us-chicago/attachments/20060919/e8c088be/attachment-0001.htm 


More information about the Ubuntu-us-chicago mailing list