Created
July 30, 2012 20:45
-
-
Save JonasR/3210030 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for dir in 7 8 9 10 11 | |
do | |
echo "Currently doing $dir" | |
cd $dir | |
grep -P --only-matching "CA\s+0\.\d+" 1207270221251193.$dir.rmsmod | grep -P --only-matching "0\.\d+" > 1207270221251193.$dir.rmsmod_onlyca | |
R CMD BATCH plotRMS.R | |
convert plot.eps plot.png | |
cd ../ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment