Open main menu

Changes

Grep log file

412 bytes added, 13:21, 13 June 2013
== Grep the log file for commands ==First we find which commands relax has performed, and separate into the different fitting models egrep -wi --color 'relax>| model -' LOGFILE.txt > greplogfile.txtThen we replace instances of '''relax> ''' with empty, and comment out the model line sed -i "s/relax> //" greplogfile.txt sed -i "s/relax> //" greplogfile.txt  == See also ==[http://www.pement.org/sed/sed1line.txt Sed one-liners]
[[Category:grep]]