skip to main
|
skip to sidebar
Blog 'roboczy' Gregora... (takie tam nieudolne próby)
Linux and programming: tips and tricks, the songs, the trips, life...
Tuesday, April 17, 2012
How to cut first n fields in the text file using awk
To cut first 4 columns of the text file just use:
awk '{print substr($0, index($0,$4))}'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2015
(1)
►
March
(1)
►
2014
(3)
►
March
(2)
►
February
(1)
►
2013
(6)
►
October
(2)
►
September
(4)
▼
2012
(6)
▼
April
(1)
How to cut first n fields in the text file using awk
►
February
(5)
►
2009
(4)
►
September
(2)
►
August
(2)
►
2007
(4)
►
November
(2)
►
October
(1)
►
May
(1)
About Me
Unknown
View my complete profile
No comments:
Post a Comment