Moved the log2reg.sed file into the scripts folder

This commit is contained in:
Knut Morten Okstad
2015-07-05 08:49:07 +02:00
parent 066696c875
commit b266a7c5c4

22
scripts/log2reg.sed Normal file
View File

@@ -0,0 +1,22 @@
# $Id$
# Converts a log-file such that it can be used as reference in regression tests.
# Basically, it deletes lines which are pointless in comparison with references.
# Remember to manually insert the command-line arguments as the first line.
1,/^ Executing command:/d
1,15 s/^ *[^ ][^ ]* //
/^ *$/d
/^ *iter=/d
/^===============================================================/,$ d
/^====/d
/VTF/d
/umber of visualization points/d
/re-computing sparsity pattern/d
/^Writing/d
/^\.*$/d
/^ *Max/s/ node [0-9]*$//
# Since we use grep, some special characters that might occur must be escaped.
s/\*/\\\*/g
s/\[/\\\[/g
s/^ *--*//
/^Input file:/i\