summaryrefslogtreecommitdiff
path: root/src/validators/numeric-exclude
blob: 676a240b6c624bfaa3cc747abf9e4db34ded9e6c (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
path=$(dirname "$0")
num="${@: -1}"
if [ "${num:0:1}" != "!" ]; then
   ${path}/numeric $@
else
    ${path}/numeric ${@:1:$#-1} ${num:1}
fi