bbloke
Registered
I would greatly appreciate any help that anyone could offer with regards to a problem I am working on. I need to edit data that is outputted from one program, running under IRIX, in a 32-bit long integer format. I want to be able to divide that data into segments (for instance, into 8 K segments) and then feed it back into the originating program.
Now, I found "od" (more specifically "od -S") was a great help when wanting to convert the data to ASCII and THEN process it. However, I could not find a way to convert the data back to 32-bit long integer format, so I now want to work with the original data. "head," "cut," "sed," and so on do all work with the binary data but I can't find a way of using them to divide the data into segments.
Does anyone have any ideas?
Now, I found "od" (more specifically "od -S") was a great help when wanting to convert the data to ASCII and THEN process it. However, I could not find a way to convert the data back to 32-bit long integer format, so I now want to work with the original data. "head," "cut," "sed," and so on do all work with the binary data but I can't find a way of using them to divide the data into segments.
Does anyone have any ideas?