annotate split.sh @ 4:20ac4757a337 default tip

Add depth3_original
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Fri, 27 Nov 2015 19:48:03 +0900
parents ec212cdb1f47
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ec212cdb1f47 Add log 2015_11_27
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #!/bin/sh
ec212cdb1f47 Add log 2015_11_27
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 for file in *.txt; do
ec212cdb1f47 Add log 2015_11_27
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 for nodeNum in `seq 0 $1`; do
ec212cdb1f47 Add log 2015_11_27
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 cat ${file} | grep nodeNum${nodeNum}, | cut -f 5 -d "d" | tr -d "[:lower:]" | tr -d ":" >> nodeNum${nodeNum}.txt
ec212cdb1f47 Add log 2015_11_27
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 done
ec212cdb1f47 Add log 2015_11_27
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 done