How do I convert an ASCII char to ASCII HEX in a AWK script?
I want loop by a range of letter
example
for(i="a"; i<"g"; i++)
print i;
NOTE: I want loop by a range from hex representation and print the character.
|
How do I convert an ASCII char to ASCII HEX in a AWK script? I want loop by a range of letter example
NOTE: I want loop by a range from hex representation and print the character. |
||||
|
|
|
Build a table containing all the ASCII characters and use the awk builtin
Put this code in the file "foo" and run |
|||
|
|
|
Sounds to me like you don't really need all the characters...
|
|||
|
|