csvtool

File Read

The file is actually parsed and manipulated as CSV.

csvtool trim t /path/to/input-file

File Write

The file is actually parsed and manipulated as CSV.

echo DATA >/path/to/temp-file
csvtool trim t /path/to/temp-file -o /path/to/output-file

Shell

csvtool call '/bin/sh;false' /etc/hosts