53 lines
1.1 KiB
Groff
53 lines
1.1 KiB
Groff
.Dd Jan 12, 2025
|
|
.Dt BASE32 1
|
|
.Os HitchHiker Linux
|
|
.Sh NAME
|
|
.Nm base32
|
|
.Nd base32 encode/decode data into the standard output
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl diqv
|
|
.Op Fl w Ar wrap
|
|
.Op Fl o Ar output
|
|
.Op Ar
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
reads from the standard input or from each file argument, and encodes
|
|
or decodes data based on the base32 scheme described in RFC 4648 into
|
|
the standard output.
|
|
.Pp
|
|
The following options are available:
|
|
.Bl -tag -width XXXXXXX
|
|
.It Fl d
|
|
Decode the input instead of encoding it.
|
|
.It Fl i
|
|
Ignore whitespace characters when decoding.
|
|
.It Fl w Ar wrap
|
|
Wrap lines longer than
|
|
.Ar wrap
|
|
characters using a newline.
|
|
The default number of characters is 76.
|
|
.It Fl o Ar output
|
|
Write output to
|
|
.Ar output
|
|
rather than to standard output
|
|
.It Fl q
|
|
Never print headers giving file names
|
|
.It Fl v
|
|
Always print headers giving file names
|
|
.El
|
|
.Sh EXIT STATUS
|
|
.Nm
|
|
exits with 0 if there was no error and non-zero if it could not encode or
|
|
decode, printing an error message.
|
|
.\" .Sh SEE ALSO
|
|
.\" .Xr b64_ntop 3 ,
|
|
.\" .Xr b64_pton 3
|
|
.Sh HISTORY
|
|
The
|
|
.Nm
|
|
command first appeared on
|
|
.\" Linux ?, MacOS/X ?, and
|
|
.Nx 9 .
|
|
.Sh AUTHORS
|
|
.An Nathan Fisher
|