Table of Contents ▸ List of Commands ▸ Convenience Functions ▸ str2hex | ◀ strbuffer | strcapitalize ▶ |
str2hex
Arguments:
- "string"
Description:
Convert specified string argument into a sequence of hexadecimal values (returned as a string).See also:
hex2str.Example of use:
hex=${"str2hex \"Hello my friends\""} echo $hex
[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ 48656c6c6f206d7920667269656e6473
[gmic]-0./ End G'MIC interpreter.
[gmic]-0./ 48656c6c6f206d7920667269656e6473
[gmic]-0./ End G'MIC interpreter.