Moved the log2reg.sed file into the scripts folder
This commit is contained in:
22
scripts/log2reg.sed
Normal file
22
scripts/log2reg.sed
Normal 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\
|
||||
Reference in New Issue
Block a user