awk -version
awk version 20121220 (FreeBSD) strange. System is updated. So its a third side soft |
SPF - Thanks!
Quote:
Thanks, Matt |
I was trying to easily convert back and forth between C-syntax Hex and Ascii (used a lot in Arduino, because apparently that's a fun way to store web pages on embedded controllers), and stumbled upon this thread. It was useful to completing my task, so thought it worth giving back. If nothing else, when I need to do this for something else and misplace these little utils, perhaps my web search will bring me here. :p
The following scriptlettes should be rather light weight and only use fairly standard POSIX utils (od, sed, bash). $ cat asc2hex Code:
#!/bin/bash Code:
#!/bin/bash Code:
$ echo "Hello World!"|./asc2hex Code:
$ cat hello_world |
All times are GMT -5. The time now is 03:22 AM. |