From: Bart Schaefer <schaefer@brasslantern.com>
To: Atom Smasher <atom@smasher.org>, zsh-users@sunsite.dk
Subject: Re: unexpected wildcard issue
Date: Thu, 08 Mar 2007 09:47:34 -0800 [thread overview]
Message-ID: <070308094734.ZM22070@torch.brasslantern.com> (raw)
In-Reply-To: <20070308051242.81255.qmail@smasher.org>
On Mar 8, 12:12am, Atom Smasher wrote:
}
} ok... so, should the shell insert an implied "--" before expanding
} wildcards or globs? is there an option for that? should there be?
There was a long, not-quite-heated discussion of this on the POSIX
standards list ("austin-group") late last year.
The end result of the discussion was that David Korn (as in ksh)
suggested that this should be a line editor operation; that is, you
type some key sequence, and the line editor finds the place between
the rightmost word that starts with a hyphen and the leftmost word
that does not, and inserts "--" there. I believe PWS even wrote a
function for this and sent it to zsh-users.
No, I'm wrong; I'm thinking of zsh-users/10793, which is for a similar
but not quite identical problem. However, it should be easy to adapt
that function to do this.
prev parent reply other threads:[~2007-03-08 17:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-08 4:51 Atom Smasher
2007-03-08 4:54 ` Dan Nelson
2007-03-08 5:12 ` Atom Smasher
2007-03-08 17:47 ` Bart Schaefer [this message]
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=070308094734.ZM22070@torch.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=atom@smasher.org \
--cc=zsh-users@sunsite.dk \
/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).