Convert files of format 0:u;0:l;1:u;1:d etc into:
ul\n ud\n
- pre-process files using
./preprocess.sh
in working directory- removes " quotes
- adds a space between consecutive delimiters (,, -> , ,) to ensure
strtok
outputs something for every token
- touch files
all
andfinished
- run
fd . $INPUT_DIR/ -t f -e .csv > all
so that the below script can be stopped and started as needed - run
./run.sh
which runs./converter
$file for all files inall
and notfinished
- RUN LENGTH ENCODE
- ADD HEADERS BACK