1 |
In message <46E87A91.1040702@××××××××××.de> you wrote: |
2 |
> |
3 |
> just a short note on my previous Post: |
4 |
> The two logs attached seem to bee concatenated at least on |
5 |
> Thunderbird, sorry for that, hope you see the break... |
6 |
> Is there an easy Way of converting these Hex/ASCI Dumps into ordinary |
7 |
> Text? |
8 |
> Because copy/paste from minicom and then hand-editing is annoying. |
9 |
|
10 |
Save the text to a file, and then run something like this: |
11 |
|
12 |
perl -ne '@tmp=split;for($i=1;$i<5;$i++){syswrite(STDOUT,pack("N",hex($tmp[$i])));}' file |
13 |
|
14 |
Best regards, |
15 |
|
16 |
Wolfgang Denk |
17 |
|
18 |
-- |
19 |
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel |
20 |
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany |
21 |
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@××××.de |
22 |
Make it right before you make it faster. |
23 |
-- |
24 |
gentoo-embedded@g.o mailing list |