tags:

views:

215

answers:

3

Too cumbersome:

awk '{print " "$4" "$5" "$6" "$7" "$8" "$9" "$10" "$11" "$12" "$13}' things
+2  A: 

Try this:

awk '{ $1=""; $2=""; $3=""; print $0 }'
lhf
+2  A: 
echo 1 2 3 4 5| awk '{ for (i=3; i<=NF; i++) print $i }'
Vetsin
+5  A: 

use cut

$ cut -f4-13 file

or if you insist on awk and $13 is the last field

$ awk '{$1=$2=$3="";print}' file

else

$ awk '{for(i=4;i<=13;i++) printf $i" "}' file
ghostdog74
probably better to use "NF" than "13" in the last example.
glenn jackman
2 scenario that is up to OP to decide. if 13 is the last field, using NF is alright. If not, using 13 is appropriate.
ghostdog74