![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community. |
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove first N bytes and last N bytes from a binary file on AIX. | naveendronavall | Shell Programming and Scripting | 1 | 05-24-2008 11:06 AM |
| How to delete N bytes from the starting of the file from a C function??? | jockey007 | High Level Programming | 2 | 11-15-2007 10:25 PM |
| Delete lines starting with XX or YY or ZZ or .... | orno | Shell Programming and Scripting | 2 | 11-13-2007 05:33 PM |
| Copy only the initial 10 lines from a file to another | jockey007 | Shell Programming and Scripting | 5 | 11-02-2007 02:05 PM |
| delete bytes from file | Loriel | Shell Programming and Scripting | 6 | 04-13-2006 01:27 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
deleting some bytes
sed 's/^\(.\)\{11\}//g' forsed
This would help in deleting 11 bytes from the begining of a line, i assume u are not working on binary(I fear about endian issues). This one is a generic u can adapt to your need, like for a line or more or specific line etc. I am not whether this is what u require Hope this helps Regards, RUV |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|