Re: Processing binary (BMP) files in gawk



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



.



Relevant Pages

  • Re: OMG I am on Youtube
    ... any risk because of going slightly above 500 metres -- especially ... if you did so because it was safer. ... assessment of the way you had planned and run the activity that ... above 500 metres for a short while. ...
    (uk.rec.scouting)
  • Re: A Very Real Serious Question Concerning MJ and Pain Relief
    ... I'm just too old and febel to risk a raid like they have been ... Random piss tests at both work & the Doc's office. ... Now all of that being said, if all Cannabis related intoxicants were ... script either. ...
    (alt.support.chronic-pain)
  • Re: Delete Cookies Dir
    ... SHFileOperation, and so I would expect the same error. ... Doing it manually I saw 'is a windows system folder and is required for ... Resume Next'-Statement which is required in my script before. ... intended way for maximum compatibility and no risk. ...
    (microsoft.public.scripting.wsh)
  • Re: Witnesses please?
    ... Taking a RIB out /with/ a kill switch is considerably ... Your problem here is with your ability to asses risk. ... safer than the drive down there. ... So if you want to slag the guy off ...
    (uk.rec.sailing)
  • Re: Car rental company that will guarantee a child seat
    ... > the risk of injury to a lap baby on an airplane. ... But I also know it is only slightly safer, ... downsides of affecting already fragile self esteems of small kids. ... I know it is safer to put kids under 5' in the back seat of a vehicle, ...
    (misc.kids)

Loading