On 22 July 2013 18:52, Charlie Paul <charli...@gmail.com> wrote: > But now we are looking at an even more obscure situation.
If you really care, any POSIX shell should be able to do this as long as you don't hit ARG_MAX: set -- * && echo "$#"
On 22 July 2013 18:52, Charlie Paul <charli...@gmail.com> wrote: > But now we are looking at an even more obscure situation.
If you really care, any POSIX shell should be able to do this as long as you don't hit ARG_MAX: set -- * && echo "$#"