16.09.2009 | 12:40
Svima veliki pozdrav.
Imam mali problemcic; htio bi iz ovakvog outputa izvuci brojke iza HF=, RMSD= i RMSF= koji se jos ponavljaju u fajlu 4 puta i da mi sa svim tim brojevima napravi jednostavu aritmeticku operaciju tip zbrajanja/oduzimanja; ili da mi to ode u neki fajl koji se moze importati kao tablica u Numbersu. Da li napraviti nekakav grep ili nest slicno i kako za nest sto se ponavlja? Jer u grep naredbi ne vidim svaki put brojku (jer sam mislio to rucno raditi i bacati sve u Numbers). Totalna sam neznalica u programiranju i u terminalu koristim ukupno 6 naredbi, tako da je svaka pomoc dobrodosla! Castim pivom najbolje rijesenje!
HVALA!
1\1\GINC-COMPUTE-6-11\\FTS\\RB3LYP\\6-31+G(d)\\C6H11Cl1N1O1(1-)\\DSAKIC\\15-
Sep-2009\0\\# opt=(calcfc,ts,noeigentest) freq rb3lyp/6-31+g(d)\\Title
Card Required\\-1,1\C,-1.381329385,-1.2621608515,-0.3777392117\C,-0.0
923565888,-1.3827143472,0.4481811945\C,0.0761183876,1.2437257362,0.224
494918\C,-1.3638342442,1.2527928777,-0.3518744167\C,-2.1672044512,-0.0
054233966,-0.0033516976\H,-0.3287768554,-1.8072944127,1.4449275675\H,0
.6017409066,-2.0864327816,-0.0404900366\H,-1.1385809369,-1.2171586922,
-1.4451169778\H,0.1387408824,1.8885519017,1.1173502114\H,0.7556308462,
1.6744607013,-0.5336528277\H,-1.8901696902,2.1152160833,0.0833359394\H
,-2.4294769425,-0.0358303567,1.0681754846\H,-3.0898183119,0.0545495546
,-0.5933752176\N,0.5367826218,-0.0886594843,0.5977599357\Cl,2.19005063
84,-0.1576472067,1.1837885575\H,-1.97389786,-2.1740958876,-0.213309726
2\C,-1.3539605804,1.4925356297,-1.9204562234\H,-0.8424252837,2.5019263
71,-2.0247917462\H,-0.5706971685,0.770375095,-2.3224624224\O,-2.550617
684,1.4019177365,-2.4980861244\\Version=IA32L-G03RevE.01\\State=1-A\\HF=
-825.3894501\/RMSD=2.006e-09\\RMSF=9.135e-06\\Thermal=0.\\Dipole=2.0456459
,-1.6617783,2.8032118\PG=C01 [X(C6H11Cl1N1O1)]\\@