Penguin
Annotated edit history of uuencode(5) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 UUENCODE
2 !!!UUENCODE
3 NAME
4 DESCRIPTION
5 SEE ALSO
6 HISTORY
7 ----
8 !!NAME
9
10
11 uuencode - format of an encoded uuencode file
12 !!DESCRIPTION
13
14
15 Files output by uuencode(1) consist of a header line,
16 followed by a number of body lines, and a trailer line. The
17 uudecode(1) command will ignore any lines preceding the
18 header or following the trailer. Lines preceding a header
19 must not, of course, look like a header.
20
21
22 The header line is distinguished by having the first 6
23 characters ''begin'' The word ''begin'' is followed by
24 a mode (in octal), and a string which names the remote file.
25 A space separates the three items in the header
26 line.
27
28
29 The body consists of a number of lines, each at most 62
30 characters long (including the trailing newline). These
31 consist of a character count, followed by encoded
32 characters, followed by a newline. The character count is a
33 single printing character, and represents an integer, the
34 number of bytes the rest of the line represents. Such
35 integers are always in the range from 0 to 63 and can be
36 determined by subtracting the character space (octal 40)
37 from the character.
38
39
40 Groups of 3 bytes are stored in 4 characters, 6 bits per
41 character. All are offset by a space to make the characters
42 printing. The last line may be shorter than the normal 45
43 bytes. If the size is not a multiple of 3, this fact can be
44 determined by the value of the count on the last line. Extra
45 garbage will be included to make the character count a
46 multiple of 4. The body is terminated by a line with a count
47 of zero. This line consists of one ASCII space.
48
49
50 The trailer line consists of ''end'' on a line by
51 itself.
52 !!SEE ALSO
53
54
55 uuencode(1), uudecode(1), uusend(1), uucp(1),
56 mail(1)
57 !!HISTORY
58
59
60 The ''uuencode'' file format appeared in BSD 4.0
61 .
62 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.