From a850215587ed07a536f77333c729b32966881716 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Mon, 18 Jun 2012 21:55:25 +0000 Subject: [PATCH] unnecessary ^ in regular expression; warning produced on smt-exec --- contrib/run-script-smtcomp2012 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/run-script-smtcomp2012 b/contrib/run-script-smtcomp2012 index 2183df8ce..bb4a9305f 100755 --- a/contrib/run-script-smtcomp2012 +++ b/contrib/run-script-smtcomp2012 @@ -3,7 +3,7 @@ cat >bench-$$.smt2 trap 'rm bench-$$.smt2' EXIT -logic=$(expr "$(head -n 1 bench-$$.smt2)" : '^ *(set-logic *\([A-Z_]*\) *) *$') +logic=$(expr "$(head -n 1 bench-$$.smt2)" : ' *(set-logic *\([A-Z_]*\) *) *$') # use: trywith [params..] # to attempt a run. Only thing printed on stdout is "sat" or "unsat", in -- 2.30.2