Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #10010

Re: FIELDWIDTHS helper

From Bruce <07.013@scorecrow.com>
Newsgroups comp.lang.awk
Subject Re: FIELDWIDTHS helper
Date 2025-08-15 08:14 +0100
Organization A noiseless patient Spider
Message-ID <d181071f-1595-4447-aa8f-aef2edbcb6a4@scorecrow.com> (permalink)
References <b208cecc-acca-4a4b-bce8-013c66682fcc@scorecrow.com> <107arnd$23gng$1@dont-email.me> <20250810124827.931@kylheku.com> <107b39j$3flec$1@news.xmission.com> <20250810210202.452@kylheku.com>

Show all headers | View raw


On 11/08/2025 05:10, Kaz Kylheku wrote:
> On 2025-08-10, Kenny McCormack <gazelle@shell.xmission.com> wrote:

>> He should not feel bad about that.  It is pretty obscure.  It took me a few
>> reads to get it.  I was half-way though posting a "WTF is this?" post in
>> response, when it dawned on me what the point of it was.
> 
> Yeah; some people can't be bothered to communicate.

Oooh, harsh! :-)

It wasn't meant to be obscure - just a case of not seeing the wood for 
the trees when immersed in the detail of a feature.


> E.g.
> 
> "I have come up with a nice debugging aid that helps me fine-tune
> the values of FIELDWDITHS to correctly match my input.
> 
> I simply take a stab at some FIELDWIDTHS values and then run
> this code against some actual input.
> 
> The code prints the input record verbatim, then splits into fields
> using the proposed FIELDWIDTHS, and finally prints a representation of
> the field widths under the data to make it obvious what part of the data
> belongs to each field."

This is spot on - thank-you for taking the trouble.

-- 
Bruce Horrocks
Hampshire, England

Back to comp.lang.awk | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

FIELDWIDTHS helper Bruce <07.013@scorecrow.com> - 2025-08-06 10:23 +0100
  Re: FIELDWIDTHS helper Ed Morton <mortonspam@gmail.com> - 2025-08-10 14:25 -0500
    Re: FIELDWIDTHS helper Kaz Kylheku <643-408-1753@kylheku.com> - 2025-08-10 19:51 +0000
      Re: FIELDWIDTHS helper gazelle@shell.xmission.com (Kenny McCormack) - 2025-08-10 21:34 +0000
        Re: FIELDWIDTHS helper Kaz Kylheku <643-408-1753@kylheku.com> - 2025-08-11 04:10 +0000
          Re: FIELDWIDTHS helper Bruce <07.013@scorecrow.com> - 2025-08-15 08:14 +0100
  Re: FIELDWIDTHS helper Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-08-11 11:51 +0200

csiph-web