unix cut, remove first token

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-03-11T20:28:26Z Indexed on 2010/03/11 20:34 UTC
Read the original article Hit count: 181

Filed under:
|

I'm trying to use unix cut to remove the first two fields per line. I have input lines of of the form

(token)(whitespace)(token)(lots of text)

The problem is that there exit n tokens per line, so I can't do something like this

cut -f3,4,5,6,7,8,9

is there a way to tell cut to take everything except the specified fields

© Stack Overflow or respective owner

Related posts about unix

Related posts about cut