.\" Generated by scdoc 1.11.5 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "SYD\-HEX" "1" "2026\-08\-10" .PP .SH NAME .PP \fBsyd\-hex\fR \- Hex\-encode/decode the given file or standard input .PP .SH SYNOPSIS .PP \fBsyd\-hex\fR \fI[\-hdeflsC]\fR \fI\fR .PP .SH DESCRIPTION .PP Given a file, hex\-encode the file and print.\& .PP Given no positional arguments or "\-" as argument, hex\-encode standard input and print.\& .PP Use \fB\-d\fR to hex\-decode rather than encode.\& .PP Use \fB\-s\fR with \fB\-d\fR to hex\-decode data with newline\-delimited chunks.\& .PP Use \fB\-C\fR with \fB\-s\fR to warn and continue in case of read or encoding errors.\& .PP Use \fB\-f\fR to force print decoded hex to TTY (insecure).\& By default, decoded hex output is \fInot\fR written to standard output if it'\&s attached to a TTY.\& .PP Use \fB\-l\fR to exit after size bytes are read.\& .PP Use \fB\-l\fR with \fB\-s\fR to exit after count lines are read.\& .PP .SH OPTIONS .PP .TS l lx l lx l lx l lx l lx l lx l lx l lx. T{ \fB\-h\fR T} T{ Display help.\& T} T{ \fB\-d\fR T} T{ Hex\-decode.\& T} T{ \fB\-e\fR T} T{ Hex\-encode (default).\& T} T{ \fB\-f\fR, \fB\-\-force\-tty\fR T} T{ Force output to TTY (insecure).\& T} T{ \fB\-l\fR \fI\fR T} T{ Exit after size bytes are read.\& T} T{ \fB\-l\fR \fI\fR T} T{ Exit after count lines are read in stream mode.\& T} T{ \fB\-s\fR, \fB\-\-stream\fR T} T{ Enable stream mode with \fB\-d\fR when data is hex\-decoded with newline\-delimited chunks.\& T} T{ \fB\-C\fR, \fB\-\-continue\-on\-failure\fR T} T{ Continue in case of read or encoding errors in stream mode.\& T} .TE .sp 1 .SH SEE ALSO .PP \fIsyd\fR(1), \fIsyd\fR(2), \fIsyd\fR(5), \fItty\fR(1) .PP \fBsyd\fR homepage: https://sydbox.\&exherbo.\&org/ .PP .SH AUTHORS .PP Maintained by Ali Polatel.\& Up\-to\-date sources can be found at https://gitlab.\&exherbo.\&org/sydbox/sydbox.\&git and on Radicle at rad:z38HCnbmcDegA2BMxuPaPRPMdp6wF.\& Bugs/patches can be submitted to https://gitlab.\&exherbo.\&org/groups/sydbox/\-/issues.\& Discuss in #sydbox on Libera Chat or in #sydbox:mailstation.\&de on Matrix.\&