summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-12 11:19:29 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-12 11:19:29 +0200
commit927c6d5d83b3cf0a79bcafa78f8de4827c1979bf (patch)
treed36db90674ba5ab5d74fcc29a6bdd7a2962fb6de
parentc877d4871fea3826afc192bfb5efe0b42b53b130 (diff)
downloaddmc-927c6d5d83b3cf0a79bcafa78f8de4827c1979bf.tar.gz
dmc-927c6d5d83b3cf0a79bcafa78f8de4827c1979bf.tar.bz2
dmc-927c6d5d83b3cf0a79bcafa78f8de4827c1979bf.zip
Add sed script that converts data into octave readable csv files
Usage: ./gen_octave_input.sed dmc2012_task/train.txt > train_noheader.csv
-rwxr-xr-xgen_octave_input.sed4
1 files changed, 4 insertions, 0 deletions
diff --git a/gen_octave_input.sed b/gen_octave_input.sed
new file mode 100755
index 0000000..7a72793
--- /dev/null
+++ b/gen_octave_input.sed
@@ -0,0 +1,4 @@
+#!/bin/sed -f
+1d
+s/|/ /g
+s/ //