File: summarize

package info (click to toggle)
espresso 6.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,068 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,503; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (10 lines) | stat: -rw-r--r-- 640 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
grep -e ! n.gaupbe.1nlcc.out-80  | tail -1 | awk '{print $5}' > N
grep -e ! n2.gaupbe.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.gaupbe.1nlcc.out-80  | tail -1 | awk '{print $5}' > O
grep -e ! o2.gaupbe.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.gaupbe.1nlcc.out-80  | tail -1 | awk '{print $5}' > C
grep -e ! co.gaupbe.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