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

Re: Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin )



On Feb 1,  8:55am, Andrej Borsenkow wrote:
} Subject: RE: Somebody with gcc knowledge here? (Was:  termcap moodule prob
}
} > What you actually want here is
} > 
} > 		case "$all_subdirs " in
} > 		    *" $lastsub "* ) ;;
} 
} Or do I miss something?

You miss the significance of whitespace.  Look closely at the `case'
line.  Adding a trailing space there means you can always match a
trailing space in the pattern line, so you only need one pattern.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author