This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
using_awk_on_csv_files [2016/03/24 16:31] Joel Dare [Unmatched Error] |
using_awk_on_csv_files [2023/05/22 12:50] (current) Joel Dare |
||
---|---|---|---|
Line 10: | Line 10: | ||
awk -F "\"*,\"*" '{print $3}' file.csv | awk -F "\"*,\"*" '{print $3}' file.csv | ||
+ | |||
+ | <box 50% round orange|Sweet Awk Magic>[[https://course.joeldare.com/awk/|Join my 90-minute workshop and learn my tips and tricks to quickly process CSV files with Awk.]]</box> | ||
As another example, take the following pipe delimited format: | As another example, take the following pipe delimited format: | ||
Line 37: | Line 39: | ||
'Unmatched ".' | 'Unmatched ".' | ||
- | One solution is to run this command from bash. To switch to a bash shell, just run the `bash` command to switch to a bash shell. | + | One solution is to run this command from bash. To switch to a bash shell, just run the /bash/ command to switch to a bash shell. |
+ | |||
+ | bash | ||
Special thanks to Marina for reporting this error. | Special thanks to Marina for reporting this error. |