Add man page
This commit is contained in:
parent
c387ea0685
commit
08d0840277
1 changed files with 53 additions and 0 deletions
53
man/base32.1
Normal file
53
man/base32.1
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
.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
|
Loading…
Add table
Reference in a new issue