blob: 10e7ecd708e617570b81654922f5af69c92d2bb6 (
plain)
- #!/bin/sh
- set -e
- infile="$1"
- dirname=$(dirname "$infile")
- basename=$(basename "$infile" .csv)
- outfile="${2:-$dirname/${basename}_out.csv}"
- csvtool -t ";" -u COMMA square "$infile" | perl -pe 's/\x00\x14/\t/g' > "$outfile"
|