Created
April 12, 2016 12:55
-
-
Save KristianLyng/edd07a75f87eea95efa3bd80990ac103 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kly@leia:~$ cat lol.csv | |
| name, title, number, lol | |
| kjell, pm, 1, hah | |
| magne, boms, 2, hoh ho ho | |
| kly@leia:~$ awk --field-separator=, '{print $1}' lol.csv | |
| name | |
| kjell | |
| magne | |
| kly@leia:~$ awk --field-separator=, '{print $2}' lol.csv | |
| title | |
| pm | |
| boms | |
| kly@leia:~$ awk --field-separator=, '{print $3}' lol.csv | |
| number | |
| 1 | |
| 2 | |
| kly@leia:~$ awk --field-separator=, '{print $4}' lol.csv | |
| lol | |
| hah | |
| hoh ho ho |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment