Re: awk / sed - trouble with CR character

2003-08-29 Thread Corinna Vinschen
On Mon, Aug 25, 2003 at 05:12:22PM -0400, Cary Lewis wrote: I have a binary file, with 8 lines of ascii at the top, and then a binary line The binary line contains the 0x0d. E.g. $ od -tx1 a 000 31 0a 32 0a 33 0a 34 0a 35 0a 36 0a 37 0a 38 0a 020 31 32 33 0d 0a 39 39 39 0a 34

awk / sed - trouble with CR character

2003-08-25 Thread Cary Lewis
I have a binary file, with 8 lines of ascii at the top, and then a binary line The binary line contains the 0x0d. E.g. $ od -tx1 a 000 31 0a 32 0a 33 0a 34 0a 35 0a 36 0a 37 0a 38 0a 020 31 32 33 0d 0a 39 39 39 0a 34 35 36 0a 035 $ cat a 1 2 3 4 5 6 7 8 123 999 456 If I try to to