File: summarize

package info (click to toggle)
espresso 5.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 146,004 kB
  • ctags: 17,245
  • sloc: f90: 253,041; sh: 51,271; ansic: 27,494; tcl: 15,570; xml: 14,508; makefile: 2,958; perl: 2,035; fortran: 1,924; python: 337; cpp: 200; awk: 57
file content (10 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
grep -e ! n.pbe0.1nlcc.out-80  | tail -1 | awk '{print $5}' > N
grep -e ! n2.pbe0.1nlcc.out-80 | tail -1 | awk '{print $5}' > N2
paste N2 N  | awk '{be= ($1-$2*2.0) * 13.6058 * 23.06; print "N2 : ",be}'
grep -e ! o.pbe0.1nlcc.out-80  | tail -1 | awk '{print $5}' > O
grep -e ! o2.pbe0.1nlcc.out-80 | tail -1 | awk '{print $5}' > O2
paste O2 O  | awk '{be= ($1-$2*2.0) * 13.6058 * 23.06 ; print "O2 : ",be}'
grep -e ! c.pbe0.1nlcc.out-80  | tail -1 | awk '{print $5}' > C
grep -e ! co.pbe0.1nlcc.out-80 | tail -1 | awk '{print $5}' > CO
paste CO O C | awk '{be= ($1-$2-$3) * 13.6058 * 23.06; print "CO : ",be}'
rm C N O CO O2 N2