On Thu, Jan 11, 2001 at 12:54:09PM -0800, [EMAIL PROTECTED] wrote:
> On Thu, 11 Jan 2001, Greg Stein wrote:
> 
> > One of the reasons that I was advocating using the globbing feature of
> > "case" was to avoid the nasty sed expression.
> > 
> > Just do:
> > 
> >   case "`uname -r`" in
> >       3.4*)
> >           disable-threads
> >           ;;
> >   esac
> 
> But, this doesn't do what we want, which is to do this for any version
> before 4.2-STABLE.  Anything earlier than that is suspect.

1*|2*|3*|4.0*|4.1*|4.2-whatever-the-unstable-is)


It feels like you guys are making the problem more difficult than it really
is. Why not simply globbing? Why try to construct some darn version number?

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Reply via email to