summaryrefslogtreecommitdiff
path: root/include/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib.sh')
-rw-r--r--include/lib.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/lib.sh b/include/lib.sh
index 84e23586..fd1b0444 100644
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -191,30 +191,6 @@ x_()
"$@" || err "Unhandled error" "x_" "$@"
}
-xeq()
-{
- [ $# -lt 2 ] && \
- err "no args" xeq
-
- xbcmd="$1"
- chk="$2"
- shift 2
-
- case "$chk" in
- -*)
- return 1
- ;;
- *)
- for eq in "$@"; do
- [ "$chk" = "$eq" ] && \
- return 0; :
- done
- ;;
- esac
-
- err "bad command" xeq "$xbcmd" "$chk" "$@"
-}
-
xchk()
{
if [ $# -lt 3 ]; then