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

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



On Thu, 04 Mar 2004 16:46:34 +0000, Peter Stephenson wrote:


>
>function vvv() {
>  setopt localoptions extended_glob
>  local x
>
>  for x in (#i)*$1*
>  do
>	echo $x
>  done
>}

That works perfectly!!

Thanx

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