zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: Is this a bug? Why not?
Date: Thu, 01 Apr 2010 15:51:18 -0700	[thread overview]
Message-ID: <100401155118.ZM11873@torch.brasslantern.com> (raw)
In-Reply-To: <20100401215752.GA34619@redoubt.spodhuis.org>

On Apr 1,  2:57pm, Phil Pennock wrote:
} Subject: Re: Is this a bug? Why not?
}
} > E.g., why doesn't the following cause $foo to be quoted?
} > 
} > schaefer[516] ARGV0=sh Src/zsh
} > $ foo="???"
} > $ print ${foo+"$foo"}
} > Doc Etc Src
} > $ 
} > 
} > It works in bash.
} 
} Defining "works" as seeing ??? emitted: it works in zsh with glob_subst
} disabled.

Well, note the "ARGV0=sh", so I'm specifically talking about glob_subst.
Just ${foo} "works" by the no_glob_subst definition.

} Is this use-case important enough to warrant yet another option?

Normally I'd be a stickler for not changing existing behavior, but in
this case it looks so obviously like a bug in the way glob_subst is
implemented that I'm not sure a new option is needed.


  reply	other threads:[~2010-04-01 22:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31  5:46 Bart Schaefer
2010-03-31  6:06 ` Phil Pennock
2010-03-31 15:11   ` Bart Schaefer
2010-04-01  8:26     ` Phil Pennock
2010-04-01 14:36       ` Bart Schaefer
2010-04-01 21:57         ` Phil Pennock
2010-04-01 22:51           ` Bart Schaefer [this message]
2010-04-09 14:37             ` Peter Stephenson
2010-04-17 13:06               ` Mikael Magnusson
2010-04-18 19:11                 ` Peter Stephenson

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=100401155118.ZM11873@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).