|
|
1.1 root 1: .TH UUENCODE 1
2: .SH NAME
3: uuencode, uudecode \- encode/decode a binary file for
4: transmission via mail
5: .SH SYNOPSIS
6: .B uuencode
7: [
8: .I file
9: ]
10: .I remotedest
11: .br
12: .B uudecode
13: [
14: .I file
15: ]
16: .SH DESCRIPTION
17: These routines are useful for sending binary files by
18: .IR mail (1).
19: .PP
20: .I Uuencode
21: places on the standard output an encoded version of the named
22: .I file
23: (standard input by default).
24: The encoding, which uses only printing ASCII characters,
25: includes the mode of the file and a name
26: .I remotedest
27: into which it will be decoded.
28: .PP
29: .I Uudecode
30: reads encoded data from a
31: .I file
32: or from the standard input and recreates the
33: original data with the mode and name given in the file.
34: As the encoded file is ordinary text, the name or
35: mode can be changed by editing.
36: .PP
37: An encoded file contains noise lines, a header line, data,
38: trailer, and more noise in that order.
39: The header contains
40: .LR begin ,
41: the octal mode, and the remote name separated by spaces.
42: Each data line contains a count in the range 0-63, encoded
43: as a single byte with value offset by 040 (space), followed
44: by the encoding of that many bytes of source.
45: 24-bit (3-byte) segments of source are
46: coded in 4 6-bit pieces, again represented in
47: offset-040 code.
48: The trailer is a data line with count 0 and then
49: the line
50: .LR end .
51: .B SEE ALSO
52: .IR uucp (1),
53: .IR mail (1)
54: .SH BUGS
55: The interface is meretricious.
56: The remote name should be decided by
57: the recipient, not the sender.
58: The command
59: .L uuencode myfile
60: does not encode
61: .L myfile ,
62: but rather reads from standard input.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.