X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=lib%2Frule.sh;fp=lib%2Frule.sh;h=b30218df492f51a9205971195b1e0d99298d3dbc;hp=0000000000000000000000000000000000000000;hb=59f4204d561b533f725bbc714604c9ca91c037fa;hpb=5020fb59510a981bd021e5d34fee268d26eb40a0 diff --git a/lib/rule.sh b/lib/rule.sh new file mode 100644 index 0000000..b30218d --- /dev/null +++ b/lib/rule.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +rule () { + local - + local rule="$1"; shift + info "$*" rule + ${TRACE:+set -x} + rule_$rule "$@" + }