"shift" without an argument always implies an argument of "1". (If someone knows of a shell that screws this up, I want to hear about it.) --- man/MKterminfo.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/man/MKterminfo.sh b/man/MKterminfo.sh
index a7335dfdb..f66a4baa1 100755
--- a/man/MKterminfo.sh
+++ b/man/MKterminfo.sh
@@ -51,12 +51,12 @@ if test "${LC_COLLATE+set}" = set; then LC_COLLATE=C;
export LC_COLLATE; fi
#
head="$1"
-shift 1
+shift
caps=
while test $# -gt 1
do
caps="$caps $1"
- shift 1
+ shift
done
tail="$1"
cat <<EOF
--
2.30.2
signature.asc
Description: PGP signature
