From: David Greaves Date: Sat, 14 May 2005 14:28:07 GMT Subject: Re: [PATCH] Ignore file filter Message-ID: <42860AF7.3060208@dgreaves.com> In-Reply-To: <20050514122134.GF3905@pasky.ji.cz> Petr Baudis wrote: >Dear diary, on Sat, May 14, 2005 at 10:28:24AM CEST, I got a letter >where David Greaves told me that... > > >>Also I don't think cg-Xlib should be doing arg handling. >>As an include it should provide an arg handling function that the >>scripts call. >> >> > >I'd prefer the few and scattered users which don't want arg handling to >explicitly set some magic variable before calling cg-Xlib rather than >adding the arg parser function call everywhere else. > > OK >>>> if [[ $file =~ $patt ]]; then >>>> >>>> >>>I'm sorry but this is really nothing my bash-2.05.0(1)-release supports. >>>We're already bash-only, but further reducing that to bash3 really won't >>>work. I *might* get convinced to add some bash2+-only feature, but only >>>if you'll be really good at explaining that it makes sense. >>> >>> >>OK >>I don't know how to do that. >>I was actually aiming for glob matching when I came upon this in the >>manpage. >> >> >Ok, so what's the outcome? Are you going to stop at this point, or will >you change the scripts so that they use the glob list? > > Well, Junio solved that for me - I'll gather the comments and resubmit. David --