bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: didn't match pattern in some circumstance


From: Aharon Robbins
Subject: Re: didn't match pattern in some circumstance
Date: Sun, 23 Jan 2005 13:56:39 +0200

What version of gawk are you using, what system and compiler, and what
is your locale?  (The output of the `locale' command, if you have it,
and gawk --version.)

I cannot reproduce the problem here.

Thanks,

Arnold

> Date: Sun, 23 Jan 2005 17:48:21 +0900 (KST)
> From: Kibum Han <address@hidden>
> Subject: didn't match pattern in some circumstance
> To: address@hidden
>
> Doing the follows, I found gawk work weird:
>
> --- cut here ---
> $ cat kaka.h
>   /*******************/
> #define FREETYPE_MAJOR 2
> $ gawk '/define[\t ]*FREETYPE/ { print $2 }' kaka.h
> FREETYPE_MAJOR
> $
>
> .. edit kaka.h 
> .. add one '*' in the first line.
>
> $ cat kaka.h
>   /********************/
> #define FREETYPE_MAJOR 2
> $ gawk '/define[\t ]*FREETYPE/ { print $2 }' kaka.h
> $
>
> --- cut here ---
>
>
> gawk failed to match pattern.
>
> Any ideas?
>
> -- 
> Kibum Han <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]