1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Extract Columns of Data from a CSV with awk

    bashBash

    In this lesson, we'll use the power of awk to select the columns and rows of data that match our condition. We'll pass a , (comma) to the -F flag (the F stands for field separator), to tell awk to split on commas. From there, the world is our oyster and we can tell awk to only return rows that match whatever parameters we pass.