Use $1, $2 instead of $@ here
If found a bug in mksh, where it would not split "$@" if IFS is null (reported).
This commit is contained in:
parent
786dc939d4
commit
bb03601d73
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ echo_die() { echo_info "$@" ; exit 1; }
|
|||
isnull() { case "$1" in "") return 0;; *) return 1;; esac; }
|
||||
isnonnull() { ! isnull "$1"; }
|
||||
iseq() { case "$1" in "$2") return 0;; *) return 1;; esac; }
|
||||
isnoteq() { ! iseq "$@"; }
|
||||
isnoteq() { ! iseq "$1" "$2"; }
|
||||
negate() { ! "$@"; }
|
||||
|
||||
isurl() { isnull "${2%%$1://*}"; }
|
||||
|
|
Loading…
Reference in a new issue