Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

make "for x in *$1*" case insensitive?



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