Get first column data from CSV file with awk
cat your-file.csv | awk -F "," '{ print $1 }'
Written by Jose Miguel
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best #Shell Authors
Sponsored by #native_company# — Learn More
#native_title# #native_desc#