comma-separated values
A plain-text table format with one record per line and fields separated by commas, often with a header line first.
In more detail
awk -F, and cut -d, split simple CSV files, and skipping the first line skips the header. Real CSV can quote fields that contain commas, which these tools do not understand, so use a proper parser for messy data.
Related terms
- awk — A small programming language for text that splits each line into fields and runs actions on the lines that match a condition.
- cut command — The cut command, which extracts columns from each line, either by character position or by fields split on a delimiter.
Taught in
- Reshaping Text: cut, sort, uniq, tr, sed, awk — Bash Scripting & Command Line Automation
- Trimming, Replacing And Changing Case — Bash Scripting & Command Line Automation
- Conditionals: test, Brackets, Double Brackets, case — Bash Scripting & Command Line Automation
- Artifacts: Files That Outlive The Pod — Certified Argo Project Associate (CAPA) Exam Prep
- Full Mock And Review: Where Your Points Go — GitHub Actions (GH-200) Exam Prep