Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #10064

Re: Can I output a binary file from an AWK program?

From Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups comp.lang.awk
Subject Re: Can I output a binary file from an AWK program?
Date 2026-03-29 13:35 +0200
Organization A noiseless patient Spider
Message-ID <10qb2pv$1hibi$1@dont-email.me> (permalink)
References <10q99ai$ph7$1@news.muc.de> <10q9d0f$th8s$1@dont-email.me> <10qb2gn$1knr$1@news.muc.de>

Show all headers | View raw


On 2026-03-29 13:30, Alan Mackenzie wrote:
>> On 2026-03-28 20:14, Alan Mackenzie wrote:
>>> I think the Subject: line says it all.  I have a text source file to
>>> convert into a binary output file.  For example, I want to be able to
>>> output a 32-bit integer as a four byte little-endian binary integer.
[...]
> 
> I see that now.  But it is ugly enough that maybe I really do want to
> use some other language rather than AWK.

That decision is certainly depending on what else your program/script
is going to do. If it's mainly such conversions then I'd likely come
to the same conclusion.

Janis

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


Thread

Can I output a binary file from an AWK program? Alan Mackenzie <acm@muc.de> - 2026-03-28 19:14 +0000
  Re: Can I output a binary file from an AWK program? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-03-28 21:17 +0100
    Re: Can I output a binary file from an AWK program? Alan Mackenzie <acm@muc.de> - 2026-03-29 11:30 +0000
      Re: Can I output a binary file from an AWK program? Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-03-29 13:35 +0200
  Re: Can I output a binary file from an AWK program? Kaz Kylheku <046-301-5902@kylheku.com> - 2026-03-29 23:45 +0000
    Re: Can I output a binary file from an AWK program? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-03-29 17:07 -0700
      Re: Can I output a binary file from an AWK program? Kaz Kylheku <046-301-5902@kylheku.com> - 2026-04-17 00:25 +0000
  Re: Can I output a binary file from an AWK program? gazelle@shell.xmission.com (Kenny McCormack) - 2026-03-30 09:37 +0000
    Re: Can I output a binary file from an AWK program? gazelle@shell.xmission.com (Kenny McCormack) - 2026-04-02 12:06 +0000

csiph-web