Mercurial > hg > Members > innparusu > TreeVNCLog
diff split.sh @ 2:ec212cdb1f47
Add log 2015_11_27
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 27 Nov 2015 16:46:54 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/split.sh Fri Nov 27 16:46:54 2015 +0900 @@ -0,0 +1,6 @@ +#!/bin/sh +for file in *.txt; do + for nodeNum in `seq 0 $1`; do + cat ${file} | grep nodeNum${nodeNum}, | cut -f 5 -d "d" | tr -d "[:lower:]" | tr -d ":" >> nodeNum${nodeNum}.txt + done +done