Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Brace Expansion
- X-seq: zsh-users 7393
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Brace Expansion
- Date: Fri, 23 Apr 2004 14:15:04 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi,
This must be an old zsh chestnut EXCEPT I couldn't Google a solution
I want to do a
> ls -l *.{cfm,htm,html}
Which I could also do in bash.
In my cygwin-zsh 4.2.0 this works fine UNLESS one of the file
extensions is ABSENT, when instead of list the remaining file types it
gives an error message.
>\ls -t *.{html,cfm,htm}
zsh: no matches found: *.htm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author