set x args... && shift vs set -- args...
Hi. Has anyone seen shells, whose built-in 'set' command doesn't recognize the double-dash '--' as the end of options?
I'm looking for a portable way to fill the "$@" array with arbitrary arguments.
I tried Solaris sh, ksh, bash, zsh and they all understand double dash.
|