Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
make "for x in *$1*" case insensitive?
- X-seq: zsh-users 7106
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: make "for x in *$1*" case insensitive?
- Date: Thu, 04 Mar 2004 14:11:40 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi Y'All
for x in *$1*
How can I make above case insensitive I guess I could transform
where $1 = say main
to
$1 = [Mn][Aa][Ii][Nn]
How would I do above or is there a better way?
zzapper (vim & cygwin & 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