summaryrefslogtreecommitdiff
path: root/src/validators/numeric-exclude
diff options
context:
space:
mode:
Diffstat (limited to 'src/validators/numeric-exclude')
-rwxr-xr-xsrc/validators/numeric-exclude8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/validators/numeric-exclude b/src/validators/numeric-exclude
new file mode 100755
index 000000000..d693ad16d
--- /dev/null
+++ b/src/validators/numeric-exclude
@@ -0,0 +1,8 @@
+#!/bin/sh
+path=$(dirname "$0")
+num="${@: -1}"
+if [ "${num:0:1}" != "!" ]; then
+ ${path}/numeric $@
+else
+ ${path}/numeric ${@:1:$#-1} ${num:1}
+fi \ No newline at end of file