summaryrefslogtreecommitdiff
path: root/bin/mymerkur2csv
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-09-01 13:57:11 +0200
committerJonas Smedegaard <dr@jones.dk>2021-09-01 13:57:11 +0200
commit64184c535b9a05d8b9736d7dc93d109267ced049 (patch)
tree158d4488b926d6db700a2c587e0c9c2d7b3d89ec /bin/mymerkur2csv
parent85032f04a169126339a176ab71a3bf043adfd958 (diff)
replace embedded null+newline with tab in raw bank data
Diffstat (limited to 'bin/mymerkur2csv')
-rwxr-xr-xbin/mymerkur2csv2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mymerkur2csv b/bin/mymerkur2csv
index f5da61f..10e7ecd 100755
--- a/bin/mymerkur2csv
+++ b/bin/mymerkur2csv
@@ -7,4 +7,4 @@ dirname=$(dirname "$infile")
basename=$(basename "$infile" .csv)
outfile="${2:-$dirname/${basename}_out.csv}"
-csvtool -t ";" -u COMMA square "$infile" > "$outfile"
+csvtool -t ";" -u COMMA square "$infile" | perl -pe 's/\x00\x14/\t/g' > "$outfile"