Date: Fri, 9 Jul 2004 17:47:11 -0400 From: Mark Frank <mark@mark-and-erika.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk>, freebsd-questions@freebsd.org Subject: Re: "make search" oddity Message-ID: <20040709214711.GG11771@millerlite.local.mark-and-erika.com> In-Reply-To: <20040709204735.GA37067@happy-idiot-talk.infracaninophile.co.uk> References: <20040708172916.GB15679@millerlite.local.mark-and-erika.com> <20040708192245.GA11705@happy-idiot-talk.infracaninophile.co.uk> <20040708202313.GA11771@millerlite.local.mark-and-erika.com> <20040708210535.GA57010@happy-idiot-talk.infracaninophile.co.uk> <20040709192245.GC11771@millerlite.local.mark-and-erika.com> <20040709204735.GA37067@happy-idiot-talk.infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
* On Fri, Jul 09, 2004 at 09:47:35PM +0100 Matthew Seaman wrote:
> IGNORECASE support hasn't been added to the one-true-awk in 5.x as far
> as I can tell. I can find no mention of it searching through the
> sources via cvsweb.cgi -- mind you, that may well be because I just
> didn't manage to search very effectively. Could you try running this
> command on a 5.x system?
>
> % echo aB | awk 'BEGIN { IGNORECASE=1; } /ab/ { print "IGNORECASE works" }'
>
> On 4.x that prints out 'IGNORECASE works' -- from what you've said,
> I'd expect no output on 5.x
True. No output.
> Looks like you've spotted a bug.
Great. Then I'm not crazy...in this matter anyway.
> You can certainly install gawk from ports if you want, but I wouldn't
> go replacing the system version with it -- awk(1) is vital for
> rebuilding world, kernel and you wouldn't want to run the risk of
> breaking that. After all, being able to do a case insensitive search
> of the ports INDEX is not actually that important in the grand scheme
> of things.
That's what I thought. Thanks for the confirmation.
--
Mark Frank
"The fix is only temporary...unless it works." - Red Green
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040709214711.GG11771>
