[herrold@pokey herrold]$ ./testshift asdf
Red Hat Linux release 6.2 (Zoot)
shift: shift count must be <= $#
From the man page:
If n is 0, no parame<AD>ters are changed. If n is not
given, it is assumed to be 1.
I will attach the test case file in a moment ...
Created attachment 8620 [details]
Shell script yielding the error message
Fixed in the current version