CSV to Markdown tables: write transform script
CSV to Markdown tables: write transform script: a task in smol-software-harbor (Harbor dataset). Write csv2md.sh (bash; run as bash csv2md.sh data/prices.csv ) that turns a simple CSV file (comma separated, no quoted fields, first line = header) into a Markdown table: a header row item price , a…
The task
Write `csv2md.sh` (bash; run as `bash csv2md.sh data/prices.csv`) that turns a simple CSV file (comma separated, no quoted fields, first line = header) into a Markdown table: a header row `| item | price |`, a separator row with `| --- |` for each column, then one row per data line in the same style. A `|` inside a…
Part of efederici/smol-software-harbor.