Reference

Table of Contents  ▸  List of Commands  ▸  Convenience Functions  ▸  str2hex◀  str    |    strcapitalize  ▶

str2hex

Arguments:

Description:

Convert specified string argument into a sequence of hexadecimal values (returned as a string).

See also:

hex2str.

Example of use:

$ gmic hex=${"str2hex \"Hello my friends\""} echo $hex



[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ 48656c6c6f206d7920667269656e6473
[gmic]-0./ End G'MIC interpreter.