Changes

Jump to navigation Jump to search

Grep log file

2 bytes removed, 13:37, 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
tcsh ; set IN=LOGFILE.txt set OUT=greplogfile.txt egrep -wi --color 'relax>| model -' LOGFILE.txt > greplogfile.txt$OUT
Then we replace instances of '''relax> ''' with empty, and comment out the model line
sed -i "s/relax> //" greplogfile.txt $OUT ; sed -i 's/^- /\n#- /' greplogfile.txt $OUT ; sed -i 's/^minimise(/\nminimise(/' greplogfile.txt $OUT ; sed -i '0,/spectrum.replicated(/s//\nspectrum.replicated(/' greplogfile.txt$OUT ;
== See also ==

Navigation menu