adapted bash files to use cartouches
authordesharna
Thu, 05 Dec 2024 15:23:46 +0100
changeset 81527 4f4159c2cad3
parent 81526 21e042eee085
child 81529 92a3017f7d1a
adapted bash files to use cartouches
src/HOL/TPTP/lib/Tools/tptp_isabelle
src/HOL/TPTP/lib/Tools/tptp_nitpick
src/HOL/TPTP/lib/Tools/tptp_translate
--- a/src/HOL/TPTP/lib/Tools/tptp_isabelle	Mon Dec 02 12:38:27 2024 +0100
+++ b/src/HOL/TPTP/lib/Tools/tptp_isabelle	Thu Dec 05 15:23:46 2024 +0100
@@ -29,7 +29,7 @@
 for FILE in "$@"
 do
   echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \
-ML {* ATP_Problem_Import.isabelle_tptp_file @{theory} ($TIMEOUT) \"$FILE\" *} end" \
+ML \<open> ATP_Problem_Import.isabelle_tptp_file @{theory} ($TIMEOUT) \"$FILE\" \<close> end" \
     > /tmp/$SCRATCH.thy
   isabelle process -e "use_thy \"/tmp/$SCRATCH\"; exit 1;" -l HOL-TPTP | grep --line-buffered -v "^###\|^PROOF FAILED for depth\|^Failure node\|inferences so far.  Searching to depth\|^val \|^Loading theory\|^poly.*warning: The type of\|^   monotype.$"
 done
--- a/src/HOL/TPTP/lib/Tools/tptp_nitpick	Mon Dec 02 12:38:27 2024 +0100
+++ b/src/HOL/TPTP/lib/Tools/tptp_nitpick	Thu Dec 05 15:23:46 2024 +0100
@@ -29,7 +29,7 @@
 for FILE in "$@"
 do
   echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \
-ML {* ATP_Problem_Import.nitpick_tptp_file @{theory} ($TIMEOUT) \"$FILE\" *} end" \
+ML \<open> ATP_Problem_Import.nitpick_tptp_file @{theory} ($TIMEOUT) \"$FILE\" \<close> end" \
     > /tmp/$SCRATCH.thy
   isabelle process -e "use_thy \"/tmp/$SCRATCH\"; exit 1;" -l HOL-TPTP | grep --line-buffered -v "^###\|^PROOF FAILED for depth\|^Failure node\|inferences so far.  Searching to depth\|^val \|^Loading theory\|^poly.*warning: The type of\|^   monotype.$"
 done
--- a/src/HOL/TPTP/lib/Tools/tptp_translate	Mon Dec 02 12:38:27 2024 +0100
+++ b/src/HOL/TPTP/lib/Tools/tptp_translate	Thu Dec 05 15:23:46 2024 +0100
@@ -26,6 +26,6 @@
 isabelle build -b HOL-TPTP 2>&1 | grep --line-buffered -v "elapsed time$"
 
 echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \
-ML {* ATP_Problem_Import.translate_tptp_file @{theory} \"${args[0]}\" \"${args[1]}\" *} end" \
+ML \<open> ATP_Problem_Import.translate_tptp_file @{theory} \"${args[0]}\" \"${args[1]}\" \<close> end" \
   > /tmp/$SCRATCH.thy
 isabelle process -e "use_thy \"/tmp/$SCRATCH\"; exit 1;" -l HOL-TPTP | grep --line-buffered -v "^###\|^PROOF FAILED for depth\|^Failure node\|inferences so far.  Searching to depth\|^val \|^Loading theory\|^poly.*warning: The type of\|^   monotype.$"