NTEGER1 -gt INTEGER2
INTEGER1 is greater than INTEGER2
So, what's the reason for using while and -gt? I had expected a simple check for an empty string or alike?
if test -n "${label}"
then
case $label in
([![:alnum:]_.:\ -]*)
log error "The $1 parameter must be alphanumeric."
argsp_cmdline_exit=${ERR_PREFIX_WRONG}
kill -SIGUSR1 $$
;;
esac
prefix="${prefix#?}"
fi
The check for --prefix has the same implementation.
I just updated to
master
and am receiving the following warning:The executed command is the following:
Reason is the following code:
-gt
has the following docs:So, what's the reason for using
while
and-gt
? I had expected a simple check for an empty string or alike?The check for --prefix has the same implementation.