Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

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.

Skip the CSV header in awk? Header is line 1. Use NR>1. Data rows only.
Skip the CSV header in awk? · Download PNG
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

See all AWS revision cards