Ravi Sir's Cards › AWS
Skip the CSV header in awk?
This interview card answers: Skip the CSV header in awk? Header is line 1. Use NR>1. Data rows only.
Read card text
What this card says
What it is
Header is line 1.
Why it matters
Use NR>1.
How / example
Data rows only.
awk -F, 'NR>1 {print $1}' a.csv