Evolution of shells in Linux (developerWorks)
Posted Dec 9, 2011 12:38 UTC (Fri) by HelloWorld
In reply to: Evolution of shells in Linux (developerWorks)
Parent article: Evolution of shells in Linux (developerWorks)
That's rather interesting, actually. I guess it was removed because there are corner cases left. For example, something like
touch -- --harmful-flag
would likely still not be caught. Of course, it would be possible to treat variable expansions as positional arguments as well, but that would probably break lots of scripts. Incrementally building a list of flags in a shell variable is a common idiom, after all.
to post comments)