Changes

Jump to navigation Jump to search

Grep log file

52 bytes added, 13:38, 13 June 2013
First we find which commands relax has performed, and separate into the different fitting models.<br>
We also just make some line space and important points
<source lang=bash">tcsh ; set IN=LOGFILE.txt set OUT=greplogfile.txt egrep -wi --color 'relax>| model -' LOGFILE.txt > $OUT</source>
Then we replace instances of '''relax> ''' with empty, and comment out the model line
<source lang=bash">sed -i "s/relax> //"$OUT ; sed -i 's/^- /\n#- /' $OUT ; sed -i 's/^minimise(/\nminimise(/' test $OUT ; sed -i '0,/spectrum.replicated(/s//\nspectrum.replicated(/' test $OUT ;</source>
== See also ==

Navigation menu