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. |
probably you will not find any, but you can write a small code to test it. It looks like a very old and common option.
|
All times are GMT -5. The time now is 05:37 PM. |