DASH Shell discussions
 help / color / mirror / Atom feed
From: Harald van Dijk <harald@gigawatt.nl>
To: Eric Blake <eblake@redhat.com>,
	Jan Verbeek <ring@openmailbox.org>,
	dash@vger.kernel.org
Subject: Re: [BUG] Illegal function names are accepted after being used as aliases
Date: Tue, 23 Feb 2016 20:21:05 +0100	[thread overview]
Message-ID: <56CCB121.60808@gigawatt.nl> (raw)
In-Reply-To: <56CCABD6.40001@redhat.com>

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

  reply	other threads:[~2016-02-23 19:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 18:18 [BUG] Illegal function names are accepted after being used as aliases Jan Verbeek
2016-02-23 18:40 ` Eric Blake
2016-02-23 18:44 ` Harald van Dijk
2016-02-23 18:58   ` Eric Blake
2016-02-23 19:21     ` Harald van Dijk [this message]
2016-02-23 19:33       ` Eric Blake
2016-02-23 21:00         ` Harald van Dijk
2016-02-23 21:49           ` Eric Blake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56CCB121.60808@gigawatt.nl \
    --to=harald@gigawatt.nl \
    --cc=dash@vger.kernel.org \
    --cc=eblake@redhat.com \
    --cc=ring@openmailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox