Data

Data: CSV Files in Bash, and Their Limits, JSON with jq.

Updated

  1. CSV Files in Bash, and Their Limits (Journeyman): A CSV file is a table saved as text: while IFS=, read -r reads it a row at a time into named variables, awk -F, picks and totals its columns, and a comma inside a quoted value breaks both.
  2. JSON with jq (Journeyman): jq reads JSON, the labeled data that web APIs and cloud tools answer with: dots follow the labels in, .[] goes through every item in a list, select keeps the items you want, and -r prints plain lines a bash loop can read.