Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/uuencode/uuencode.1
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)uuencode.1 8.1 (Berkeley) 6/6/93 | .\" @(#)uuencode.1 8.1 (Berkeley) 6/6/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd January 27, 2002 | .Dd November 11, 2021 | ||||
.Dt UUENCODE 1 | .Dt UUENCODE 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm uuencode , | .Nm uuencode , | ||||
.Nm uudecode , | .Nm uudecode , | ||||
.Nm b64encode , | .Nm b64encode , | ||||
.Nm b64decode | .Nm b64decode | ||||
.Nd encode/decode a binary file | .Nd encode/decode a binary file | ||||
Show All 18 Lines | |||||
.Ar name | .Ar name | ||||
.Nm b64decode | .Nm b64decode | ||||
.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 | |||||
.Op Fl d | |||||
.Op Fl w Ar column | |||||
.Op Ar file | |||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
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 | ||||
that do not support other than simple | that do not support other than simple | ||||
.Tn ASCII | .Tn ASCII | ||||
data. | data. | ||||
The | The | ||||
.Nm b64encode | .Nm b64encode | ||||
utility is synonymous with | utility is synonymous with | ||||
.Nm | .Nm | ||||
with the | with the | ||||
.Fl m | .Fl m | ||||
flag specified. | flag specified. | ||||
The | The | ||||
.Nm b64decode | .Nm b64decode | ||||
utility is synonymous with | utility is synonymous with | ||||
.Nm uudecode | .Nm uudecode | ||||
with the | with the | ||||
.Fl m | .Fl m | ||||
flag specified. | flag specified. | ||||
.Pp | |||||
The | |||||
.Nm base64 | |||||
utility acts as a base64 decoder when passed the | |||||
.Fl d | |||||
flag and as a base64 encoder otherwise. | |||||
As a decoder it only accepts raw base64 input | |||||
and as an encoder it does not produce the framing lines. | |||||
It reads standard input or | |||||
.Ar file | |||||
if it is provided and writes to standard output. | |||||
.Pp | .Pp | ||||
The | The | ||||
.Nm | .Nm | ||||
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 135 Lines • Show Last 20 Lines |