Mercurial > hg > Members > innparusu > TreeVNCLog
view 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 |
line wrap: on
line source
#!/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