Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: make "for x in *$1*" case insensitive?
- X-seq: zsh-users 7108
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: make "for x in *$1*" case insensitive?
- Date: Thu, 04 Mar 2004 16:08:09 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <r2ee40dco8k1kv0p0k1i8cmo4v866f590v@xxxxxxx> <12606.1078410027@xxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Thu, 04 Mar 2004 14:20:27 +0000, Peter Stephenson <pws@xxxxxxx>
wrote:
>zzapper wrote:
>> Hi Y'All
>>
>> for x in *$1*
>>
>> How can I make above case insensitive I guess I could transform
>
>Make what case insensitive? There's no test.
If I call the following script with
>vvv me
It will not list a file say READ.ME but will list READ.me
function vvv () {
for x in *$1*
do
echo $x
done
}
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