zsh-users
 help / color / mirror / code / Atom feed
* make "for x in *$1*" case insensitive?
@ 2004-03-04 14:11 zzapper
  2004-03-04 14:20 ` Peter Stephenson
  0 siblings, 1 reply; 11+ messages in thread
From: zzapper @ 2004-03-04 14:11 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-03-08 12:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-04 14:11 make "for x in *$1*" case insensitive? zzapper
2004-03-04 14:20 ` Peter Stephenson
2004-03-04 16:08   ` zzapper
2004-03-04 16:46     ` Peter Stephenson
2004-03-04 18:26       ` zzapper
2004-03-05 13:05       ` Michael Schaap
2004-03-06  0:18         ` PATCH: case-insensitive globbing Peter Stephenson
2004-03-06  6:15           ` Bart Schaefer
2004-03-08 10:33             ` Peter Stephenson
2004-03-08 11:15               ` Oliver Kiddle
2004-03-08 12:22                 ` James Devenish

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).