BurntSushi/xsv ? reverse-engineered prompt

Reverse engineered prompt

Build me a fast command line tool for working with CSV files.

I want something that can inspect, clean up, and transform CSVs without opening a spreadsheet. It should let me quickly see headers, count rows, slice out a range of rows, pick or reorder columns, join files, sort data, split one file into many, and show simple stats like min, max, average, median, and frequency counts. It should also handle common messy CSV problems, like odd delimiters, quoting issues, and records with different lengths.

Make it feel snappy even on huge files, and let me chain commands together in the terminal so the output from one command can feed into the next. A nice readable table view would be great too. If you need current Rust CSV library docs or examples, look them up online and use the best approach.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab