Skip to content

Instantly share code, notes, and snippets.

@ehermes
Created January 10, 2013 16:54
Show Gist options
  • Select an option

  • Save ehermes/4503721 to your computer and use it in GitHub Desktop.

Select an option

Save ehermes/4503721 to your computer and use it in GitHub Desktop.
for i in topsite bridge hcp fcc; do for j in 0 90 125 180; do for k in 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0; do A=$(grep "E0=" /home/ehermes/reparam/$i/$j/$k/OSZICAR); if [ ! -n "$A" ]; then echo "$i/$j/$k"; A=""; fi; done; done; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment