Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # FNR = Current record number in the current file (line number)
- # NR = Overall record number
- # If we are on the first line (FNR==1) and the overall line number is not 1 (NR>1) we skip the line.
- # Else we print it
- awk 'FNR==1 && NR>1 {next;}{print}' *.csv > file
Add Comment
Please, Sign In to add comment