csvprintf

Parse and format CSV files with printf-style output formatting

brewmacoslinux
Try with needOr install directly
Source

About

Command-line utility for parsing CSV files

Commands

csvprintf

Examples

Print specific columns from a CSV file$ csvprintf '%s, %s\n' input.csv
Format CSV output with custom delimiters and select fields$ csvprintf -d ',' '%s | %s | %s\n' data.csv
Process CSV with header row and apply formatting$ csvprintf -H '%s: %s\n' records.csv