makemaps.sh
Go to the documentation of this file.
1 #!/bin/sh
2 
3 touch AB1.csv
4 rm AB*.csv
5 unzip BDEChannelMap.zip
6 
7 for i in 1 2 3 4 5 6 7 8; do
8  dos2unix AB${i}.csv
9  dos2unix -c mac AB${i}.csv
10 done
11 
12 touch packed_spreadsheet_nolabels.txt
13 rm packed_spreadsheet_nolabels.txt
14 cat AB*.csv | grep -v Strip | sed -e "s/,/ /g" > packed_spreadsheet_nolabels.txt
15 ./vdcbmakemap < packed_spreadsheet_nolabels.txt > vdcbce_chanmap_v2.txt
16 ./maptest 3200 > extrachans3200.txt
17 ./maptest -1 > maptest.output
18 cat vdcbce_chanmap_v2.txt extrachans3200.txt > vdcbce_chanmap_v2_dcchan3200.txt