Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/bintrans/bintrans.1
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Lines | |||||
.Op Fl cimprs | .Op Fl cimprs | ||||
.Op Ar | .Op Ar | ||||
.Nm b64decode | .Nm b64decode | ||||
.Op Fl i | .Op Fl i | ||||
.Fl o Ar output_file | .Fl o Ar output_file | ||||
.Op Ar file | .Op Ar file | ||||
.Nm base64 | .Nm base64 | ||||
.Op Fl d | .Op Fl d | ||||
.Op Fl i | Fl n | |||||
.Op Fl w Ar column | .Op Fl w Ar column | ||||
.Op Ar file | .Op Ar file | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm uuencode | .Nm uuencode | ||||
and | and | ||||
.Nm uudecode | .Nm uudecode | ||||
utilities are used to transmit binary files over transmission mediums | utilities are used to transmit binary files over transmission mediums | ||||
Show All 24 Lines | |||||
.Pc | .Pc | ||||
flag and as a base64 encoder otherwise. | flag and as a base64 encoder otherwise. | ||||
As a decoder it only accepts raw base64 input | As a decoder it only accepts raw base64 input | ||||
and as an encoder it does not produce the framing lines. | and as an encoder it does not produce the framing lines. | ||||
.Nm base64 | .Nm base64 | ||||
reads standard input or | reads standard input or | ||||
.Ar file | .Ar file | ||||
if it is provided and writes to standard output. | if it is provided and writes to standard output. | ||||
Options | |||||
.Fl -wrap | |||||
.Po or | |||||
.Fl w | |||||
.Pc | |||||
and | |||||
.Fl -ignore-garbage | |||||
.Po or | |||||
.Fl i | |||||
.Pc | |||||
are accepted for compatibility with GNU base64, | |||||
but the latter is unimplemented and silently ignored. | |||||
.Pp | .Pp | ||||
The | The | ||||
.Nm uuencode | .Nm uuencode | ||||
utility reads | utility reads | ||||
.Ar file | .Ar file | ||||
(or by default the standard input) and writes an encoded version | (or by default the standard input) and writes an encoded version | ||||
to the standard output, or | to the standard output, or | ||||
.Ar output_file | .Ar output_file | ||||
▲ Show 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
By default | By default | ||||
.Nm uudecode | .Nm uudecode | ||||
deletes any prefix ending with the last slash '/' for security | deletes any prefix ending with the last slash '/' for security | ||||
reasons. | reasons. | ||||
.El | .El | ||||
.Pp | .Pp | ||||
Additionally, | Additionally, | ||||
.Nm b64encode | .Nm b64encode | ||||
accepts the following option: | and | ||||
.Nm base64 | |||||
accept: | |||||
.Bl -tag -width ident | .Bl -tag -width ident | ||||
.It Fl w Ar column | .It Fl w Ar column | ||||
Wrap encoded output after | to wrap encoded output after | ||||
.Ar column . | .Ar column | ||||
.El | |||||
.Pp | |||||
and | |||||
.Nm base64 | |||||
.Fl d | |||||
accepts: | |||||
.Bl -tag -width ident | |||||
.It Fl i or Fl n | |||||
to ignore non-alphabet charaters and suppress error checking. | |||||
.El | .El | ||||
.Pp | .Pp | ||||
.Nm | .Nm | ||||
is a generic utility that can run | is a generic utility that can run | ||||
any of the aforementioned encoders and decoders. | any of the aforementioned encoders and decoders. | ||||
It can also run algorithms that are not available | It can also run algorithms that are not available | ||||
through a dedicated program: | through a dedicated program: | ||||
.Pp | .Pp | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |