![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can someone help me with modifying this file | eamani_sun | Shell Programming and Scripting | 2 | 05-22-2008 02:15 PM |
| Converting Binary decimal coded values to Ascii Values | gaur.deepti | UNIX for Advanced & Expert Users | 3 | 04-02-2008 01:33 PM |
| Modifying a csv file from Shell Script | not4google | Shell Programming and Scripting | 2 | 11-21-2006 06:47 AM |
| Modifying the final output file | charbel | Shell Programming and Scripting | 5 | 10-10-2006 02:36 PM |
| compiled binary file gives "cannot execute binary file" | scgupta | SUN Solaris | 0 | 07-13-2006 02:59 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Modifying binary file by editing Hex values ?
Hi ,
i'm using special binary file (lotus notes) and modifying an hexadecimal address range with windows hex editor and it works fine ! The file is an AIX one and i'm forced to transfert (ftp) it before modifying it and re-transfert ! NOW i would do this directly under AIX ! I can display the file with "od -h -Ax" and i wonder how to modify the all range in red with a shell script ? od -h file.nsf ........................................... 0000140 0000 0025 2ff1 cb40 0000 0000 3204 0000 0000150 da03 0000 ca02 0000 4601 0000 1201 0000 0000160 4201 0000 0000 0000 2e02 0000 0000 0000 0000170 0000 0000 0000 0000 0000 0000 0000 0000 0000180 0000 0000 0000 0000 3e01 0000 0000 0000 0000190 0000 0000 3a01 0000 1e01 0000 0000 0000 00001a0 1a01 0000 0000 0000 0000 0000 0601 0000 00001b0 0000 000 the purpose here , is to write "0" over all values of the range ! Something like : "cat file.nsf|.................|od -h -Ax" thanks in advance Christian |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|