Re: [BUG] Illegal function names are accepted after being used as aliases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23/02/2016 19:58, Eric Blake wrote:
On 02/23/2016 11:44 AM, Harald van Dijk wrote:

This matches bash's behaviour, aside from bash requiring -- to prevent
detection of invalid flags to the alias command:

bash-4.3$ alias -- -=true

Then dash DOES have a bug:

Indeed, I wasn't trying to suggest otherwise, my apologies if it came across that way. It's not limited to the alias command though, I spotted at least the exit and getopts commands having the same problem, and it should probably be fixed for all of them at once.

Cheers,
Harald van Dijk
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux