bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] string or regular expression longer than 399


From: c54444263
Subject: Re: [bug-gawk] string or regular expression longer than 399
Date: Sat, 22 Feb 2014 11:24:25 +0800

Hi

      Sorry for bothering. After check run the version information of awk, it 
just failed with error parameter and prompt out the usage. So I think it is not 
a GNU awk.

     Thanks for you help.

Best Regards
Krad


> "Andrew J. Schorr" <address@hidden> 於 2014年2月21日 22:53 寫道:
> 
> Hi,
> 
>> On Fri, Feb 21, 2014 at 06:35:06PM +0800, Krad Chan wrote:
>>      We are using awk to write some scripts on AIX 5, but following error
>> happened.
>> 
>>      0602-508 The string or regular expression beginning with the
>> characters "xxx" cannot contain more than 399 bytes.
>> 
>>     I find this is the limitation of awk on AIX 5 on forum, but nobody
>> answers me which version can overcome this limitation.
>> 
>>    So, is this limitation has been overcome in new release or not? If it
>> has been fixed, that which version of awk I should use?
> 
> Are you using gnu awk (gawk)?  If so, what do you see when you run
> gawk --version?  I don't think gawk has any such length limits.
> 
> For example, on my Linux system, I see:
> 
>   bash-4.2$ gawk --version
>   GNU Awk 4.1.0, API: 1.0 (GNU MPFR 3.1.1, GNU MP 5.1.1)
>   Copyright (C) 1989, 1991-2013 Free Software Foundation.
> 
>   This program is free software; you can redistribute it and/or modify
>   it under the terms of the GNU General Public License as published by
>   the Free Software Foundation; either version 3 of the License, or
>   (at your option) any later version.
> 
>   This program is distributed in the hope that it will be useful,
>   but WITHOUT ANY WARRANTY; without even the implied warranty of
>   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>   GNU General Public License for more details.
> 
>   You should have received a copy of the GNU General Public License
>   along with this program. If not, see http://www.gnu.org/licenses/.
> 
> If your problem is with gawk, please provide an example which
> triggers the error.
> 
> Regards,
> Andy



reply via email to

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