diff options
Diffstat (limited to 'src/validators/ipv4-address-exclude')
-rw-r--r-- | src/validators/ipv4-address-exclude | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/validators/ipv4-address-exclude b/src/validators/ipv4-address-exclude new file mode 100644 index 0000000..80ad17d --- /dev/null +++ b/src/validators/ipv4-address-exclude @@ -0,0 +1,7 @@ +#!/bin/sh +arg="$1" +if [ "${arg:0:1}" != "!" ]; then + exit 1 +fi +path=$(dirname "$0") +${path}/ipv4-address "${arg:1}" |