Re: Processing binary (BMP) files in gawk
- From: jh <jhart50@xxxxxxxxx>
- Date: Sun, 19 Jul 2009 20:00:03 -0700 (PDT)
On Jul 11, 7:33 pm, Ted Davis <tda...@xxxxxxx> wrote:
The script uses FS="" to convert the entire file into 331 078 single byte
fields.
I'm glad it worked, but it might have been safer to read the whole
file in as a string and then split it into an array of characters.
That way, you don't run the risk of hitting a limit on the number of
fields in a record.
--
jh
.
- Follow-Ups:
- Re: Processing binary (BMP) files in gawk
- From: Aharon Robbins
- Re: Processing binary (BMP) files in gawk
- From: Ted Davis
- Re: Processing binary (BMP) files in gawk
- References:
- Processing binary (BMP) files in gawk
- From: Ted Davis
- Processing binary (BMP) files in gawk
- Prev by Date: new mawk update...compile error
- Next by Date: Re: Another AWK suggestion
- Previous by thread: Processing binary (BMP) files in gawk
- Next by thread: Re: Processing binary (BMP) files in gawk
- Index(es):
Relevant Pages
|
Loading