zsh-users
 help / color / mirror / code / Atom feed
From: zzapper <david@tvis.co.uk>
To: zsh-users@sunsite.dk
Cc: zsh-workers@sunsite.dk
Subject: Re: Brace Expansion
Date: Fri, 23 Apr 2004 17:14:30 +0100	[thread overview]
Message-ID: <55gi8098cn0cncghrfku66r96ojpb88tsc@4ax.com> (raw)
In-Reply-To: <20077.1082729490@csr.com>

On Fri, 23 Apr 2004 15:11:30 +0100,  wrote:

>zzapper wrote:
>> This must be an old zsh chestnut EXCEPT I couldn't Google a solution
>
>By the way, you might want to try the manual as well as Google.

Did try the manual, but as I was barking up the wrong tree, so it
didn't help!!

>
>BRACE EXPANSION
>
>...
>
>     Note that brace expansion is not part of filename generation
>     (globbing);  an expression such as */{foo,bar} is split into
>     two separate words */foo and */bar before  filename  genera-
>     tion  takes  place.  In particular, note that this is liable
>     to produce a `no match' error if either of the  two  expres-
>     sions  does  not  match;  this  is  to  be  contrasted  with
>     */(foo|bar), which is treated as a single pattern but other-
>     wise has similar effects.

zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips


      reply	other threads:[~2004-04-23 16:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 13:15 zzapper
2004-04-23 13:41 ` Thorsten Kampe
2004-04-23 14:00 ` Peter Stephenson
2004-04-23 14:13   ` zzapper
2004-04-23 14:11 ` Peter Stephenson
2004-04-23 16:14   ` zzapper [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=55gi8098cn0cncghrfku66r96ojpb88tsc@4ax.com \
    --to=david@tvis.co.uk \
    --cc=zsh-users@sunsite.dk \
    --cc=zsh-workers@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).