Evaluer ses scripts en temps réel (dangereux ⚠️) - retour accueil
git clone git://bebou.netlib.re/liverepl
Log | Files | Refs | README |
commit 0cc4df0c9713479b2232c788ca885f179b9b5506 parent b8b9956d217adabb6065840121d6c228bbdf835a Auterice: Arthur Pons <arthur.pons@unistra.fr> Date: Thu, 29 Aug 2024 13:03:23 +0200 Message si la commande n'existe pas Diffstat:
M | pipeline | | | 11 | ++++++----- |
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/pipeline b/pipeline @@ -52,10 +52,11 @@ makescript() { } case "${c:-join}" in - (create) create $t $n;; - (join) join $t ;; - (print) printp $t ;; - (exec) execute $t ;; - (make) makescript $t ;; + (create) create $t $n;; + (join) join $t ;; + (print) printp $t ;; + (exec*) execute $t ;; + (make) makescript $t ;; + (*) echo "command doesn't exist";; esac