Using awk to print all columns from the nth to the last

This line worked until I had whitespace in the second field.

svn status | grep '\!' | gawk '{print $2;}' > removedProjs

is there a way to have awk print everything in $2 or greater? ($3, $4.. until we don’t have anymore columns?)

I suppose I should add that I’m doing this in a Windows environment with Cygwin.

26 Answers
26

Leave a Comment