![]() |
|
|
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 |
| Split a file with no pattern -- Split, Csplit, Awk | madhunk | UNIX for Dummies Questions & Answers | 10 | 12-17-2007 12:57 PM |
| split string help | senthilk615 | Shell Programming and Scripting | 4 | 03-27-2006 07:43 PM |
| replace string in binary file | sg1207 | Shell Programming and Scripting | 2 | 07-29-2004 12:26 AM |
| binary to string conversion and vice versa | kinnaree | High Level Programming | 3 | 11-16-2002 09:02 AM |
| split a file at a specified string | jpl35 | Shell Programming and Scripting | 6 | 07-04-2002 12:41 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi all,
I have a binary file (orig.dat) and two special delimiter strings 'AAA' and 'BBB'. My binary file's content is as follow: <Data1.1>AAA<Data1.2>BBB <Data2.1>AAA<Data2.2>BBB ... <DataN.1>AAA<DataN.2>BBB DataX.Y might have any length, and contains any kind of special/printable characters. Now I want to split this file into 2 files F1.dat and F2.dat, content of file 1 should be: <Data1.1> <Data2.1> ... <DataN.1> content of file 2 should be <Data1.2> <Data2.2> ... <DataN.2> Could you please help suggest me a way to do this. Thank you very much! |
|
|||||
|
See this thread: How to hide SSH version
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|