DECODE(1) GregOS Manual DECODE(1) NAME decode - convert hex or base64 to ASCII SYNOPSIS decode --hex decode --b64 DESCRIPTION decode takes a string of hex digits or a base64-encoded string and prints the ASCII representation to standard output. Each pair of hex digits is treated as one byte. Input that is not valid hex or base64 will produce an error. OPTIONS --hex Read input as hexadecimal. Each pair of characters (0-9, a-f) is converted to one ASCII character. For example, 41 = "A", 7a = "z". --b64 Read input as base64. EXAMPLES $ decode --hex 48656c6c6f Hello $ decode --hex 4f4b OK AUTHOR Gregory Alan, CS 240 Fall 1980 BUGS None known.