View Single Post
Old 05-10-08, 04:39 AM   #2
Registered User
Join Date: May 2008
Posts: 1
Default Re: Python/Pearl script...

you might want to look at awk or gawk commands to process texts in a set format. (it'll handle delimited and fixed space columns of text ).

awk ' '{print $1}' file

would output the first column (assuming its white space separated )

try here for more examples
ckbc is offline   Reply With Quote