|
|
1.1 root 1: .\" Copyright (c) 1989 The Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted provided
5: .\" that: (1) source distributions retain this entire copyright notice and
6: .\" comment, and (2) distributions including binaries display the following
7: .\" acknowledgement: ``This product includes software developed by the
8: .\" University of California, Berkeley and its contributors'' in the
9: .\" documentation or other materials provided with the distribution and in
10: .\" all advertising materials mentioning features or use of this software.
11: .\" Neither the name of the University nor the names of its contributors may
12: .\" be used to endorse or promote products derived from this software without
13: .\" specific prior written permission.
14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17: .\"
18: .\" @(#)uuencode.format.5 6.3 (Berkeley) 6/23/90
19: .\"
20: .TH UUENCODE 5 "June 23, 1990"
21: .AT 3
22: .SH NAME
23: uuencode \- format of an encoded uuencode file
24: .SH DESCRIPTION
25: Files output by
26: .I uuencode(1)
27: consist of a header line,
28: followed by a number of body lines,
29: and a trailer line.
30: .I Uudecode(1)
31: will ignore any lines preceding the header or
32: following the trailer.
33: Lines preceding a header must not, of course,
34: look like a header.
35: .PP
36: The header line is distinguished by having the first
37: 6 characters \*(lqbegin\ \*(rq.
38: The word
39: .I begin
40: is followed by a mode (in octal),
41: and a string which names the remote file.
42: A space separates the three items in the header line.
43: .PP
44: The body consists of a number of lines, each at most 62 characters
45: long (including the trailing newline).
46: These consist of a character count,
47: followed by encoded characters,
48: followed by a newline.
49: The character count is a single printing character,
50: and represents an integer, the number of bytes
51: the rest of the line represents.
52: Such integers are always in the range from 0 to 63 and can
53: be determined by subtracting the character space (octal 40)
54: from the character.
55: .PP
56: Groups of 3 bytes are stored in 4 characters, 6 bits per character.
57: All are offset by a space to make the characters printing.
58: The last line may be shorter than the normal 45 bytes.
59: If the size is not a multiple of 3, this fact can be determined
60: by the value of the count on the last line.
61: Extra garbage will be included to make the character count a multiple
62: of 4.
63: The body is terminated by a line with a count of zero.
64: This line consists of one ASCII space.
65: .PP
66: The trailer line consists of \*(lqend\*(rq on a line by itself.
67: .SH "SEE ALSO"
68: uuencode(1), uudecode(1), uusend(1), uucp(1), mail(1)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.