edit a binary file

From: Arthur Prince (arthurp_at_TOTALISE.CO.UK)
Date: 09/08/03

  • Next message: Alexandre Sato: "Re: 32 or 64 bit kernel"
    Date:         Mon, 8 Sep 2003 11:57:08 +0100
    To: aix-l@Princeton.EDU
    
    
    ('binary' encoding is not supported, stored as-is) I ned to be able to edit a binary file frfom a sheel script, i.e replace one string with another. Can awk or sed or anything do this on a binary file? 


     


    Message sent via Totalise Webmail - http://www.totalise.co.uk/
  • Next message: Alexandre Sato: "Re: 32 or 64 bit kernel"

    Relevant Pages

    • Re: File handling
      ... > I have a problem on retriving a content of a binary file I wrote into. ... Now you try to write a structure, containing a pointer to a string. ...
      (comp.lang.c)
    • Re: Interesting problem: serializing in with MFC CArchive, reading out using C# BinaryReader
      ... I solved it by looking into the MFC ... public string ReadCString() ... >> I am able to open the binary file and read out the individual ... >> old string termination issues, but I've checked the byte representing ...
      (microsoft.public.dotnet.languages.csharp)
    • RE: Speed of Applications in VBA vs VB
      ... I dont think there are any cr lf in the binary file but I'm learning a lot ... Dim filebuffer As String ... I will try the streamreader. ... functionality around the VBA engine that is not available in VBA (creating ...
      (microsoft.public.excel.programming)
    • Re: Problem in writing structure to Binary file in C lang
      ... reading those data from binary file and display it in C language. ... How should the program know the size of the string without actually ... but not the string pointed to by the structure, it also writes a binary pointer to ...
      (comp.lang.c.moderated)
    • Re: Copying byte sequence from integer/real to character array
      ... > I am writing code to write a binary file. ... > I therefore want to create a large character array, ... later you can read the file substituting a binary read (without format ... I wrote a routine that allows creating a big string of any ...
      (comp.lang.fortran)