functions: Condense extra shifts with `shift n`
POSIX allows an unsigned decimal integer be the sole, optional argument of shift. Make use of that and drop superfluous shifts.
POSIX allows an unsigned decimal integer be the sole, optional argument of shift. Make use of that and drop superfluous shifts.