Corrected error in data extraction script for ESM example

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8099 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
brandoncwood 2011-08-23 05:47:59 +00:00
parent 8ff617c901
commit b8a490d309
1 changed files with 1 additions and 1 deletions

View File

@ -8,5 +8,5 @@
echo '# z (A) rho (e) Avg v_hartree Avg v_local Avg v_hart+v_loc'
echo '# (eV/A) (eV/A) (eV/A)'
ngrid=`grep 'Dense grid:' $1 | awk -F ',' '{print $3}' | sed 's/)//'`
let ngrid=$ngrid+5
let ngrid="$ngrid+5"
grep -A${ngrid} 'ESM Charge and Potential' $1 | tail -n${ngrid} | tail -n+6