diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-09-05 14:37:20 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-09-05 14:37:20 +0200 |
commit | dbbd076cf9bfa1c337cefd757bc636f808b0bda6 (patch) | |
tree | 995d70a7081b7cde5966003347cc615eabf467f9 /bin/mymerkur2csv | |
parent | da5727968ab7cd6c3e9068a7f0477bbc2141fc1a (diff) |
Split CSV parsing into scripts mycsv2ledger mymerkur2csv.
Diffstat (limited to 'bin/mymerkur2csv')
-rwxr-xr-x | bin/mymerkur2csv | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/mymerkur2csv b/bin/mymerkur2csv new file mode 100755 index 0000000..e4ffef4 --- /dev/null +++ b/bin/mymerkur2csv @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +infile="$1" +outfile="${2:-$(basename "$infile" .csv)_out.csv}" + +csvtool -t ";" -u COMMA square "$infile" > "$outfile" |