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