[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] GAWK version 4.1.3 not processing lines over 28821 chars
From: |
Davide Brini |
Subject: |
Re: [bug-gawk] GAWK version 4.1.3 not processing lines over 28821 chars |
Date: |
Sat, 25 Jul 2015 15:14:07 +0200 |
On Fri, 24 Jul 2015 23:54:06 +0000, Ramon Salcido <address@hidden>
wrote:
> Hi team,
>
> I'm using gawk version 4.1.3 to clean up the attached file, but it's not
> processing the lines that are more than 28821 characters, it simply
> produces an empty line. You can see this is if you use the following
> command:
>
> * gawk "!/- /" Gold_Application_output.csi >
> Silver_Application_output.csi
>
> It should process the 2 lines that start with:
>
> * CREATE Application name="GDesktop_TENANT_SG01_28_BSV028_1"
>
> * CREATE Application name="GDesktop_TENANT_SG01_28_BSV028_2"
> It simply produces an empty line.
>
> Can this restriction be eliminated from the code?
> If not, what other alternative do you recommend?
It's not a gawk problem (gawk has no built-in, hardcoded limitations). The
problem is that the line(s) that you'd like to see DO match the /- /
pattern, so awk is not printing them.
Somewhere in those lines there is a matching pattern, excerpt:
Product.Name> - <Agent.UserName>"
--
D.