In sh(1) manpage, this sentence explaining how shift builtin works: > Parameters ‘#’ to ‘(#−n)+1’ and downwards are unset and ‘#’ is updated to the new number of positional parameters. can be made clearer by removing "and downwards"
diff --git bin/ksh/sh.1 bin/ksh/sh.1 index 326fb8e0c99..858e96911c4 100644 --- bin/ksh/sh.1 +++ bin/ksh/sh.1 @@ -754,7 +754,7 @@ Parameters .Sq # to .Sq Po #\(mi Ns Ar n Pc Ns +1 -and downwards are unset and +are unset and .Sq # is updated to the new number of positional parameters. If
