using bash (sed/awk) to extract rows AND columns in CSV files?

awk -F, 'NR > 1 { print $3 "," $4 "," $5 }' 

NR is the current line number, while $3, $4 and $5 are the fields separated by the string given to -F

Leave a Comment