Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #10008

Re: FIELDWIDTHS helper

From Kaz Kylheku <643-408-1753@kylheku.com>
Newsgroups comp.lang.awk
Subject Re: FIELDWIDTHS helper
Date 2025-08-11 04:10 +0000
Organization A noiseless patient Spider
Message-ID <20250810210202.452@kylheku.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>

Show all headers | View raw


On 2025-08-10, Kenny McCormack <gazelle@shell.xmission.com> wrote:
> In article <20250810124827.931@kylheku.com>,
> Kaz Kylheku  <643-408-1753@kylheku.com> wrote:
> ...
>>But I suspect that the program is intended to be a helper
>>when developing a program that uses FIELDWIDTHS.
>>
>>Your portable example is no longer testing/displaying what the value of
>>FIELDWIDTHS is doing against the input data.
>
> It is pretty clear that Mr. Ed completely missed the point of the post.
>
> 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.

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."

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

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