BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / uudecode.0
CommitLineData
362b077f
C
1
2
3
4UUENCODE(1C) UNIX Programmer's Manual UUENCODE(1C)
5
6
7
8N\bNA\bAM\bME\bE
9 uuencode, uudecode - encode/decode a binary file for
10 transmission via mail
11
12S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
13 u\buu\bue\ben\bnc\bco\bod\bde\be [ source ] remotedest | m\bma\bai\bil\bl sys1!sys2!..!decode
14 u\buu\bud\bde\bec\bco\bod\bde\be [ file ]
15
16D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
17 _\bU_\bu_\be_\bn_\bc_\bo_\bd_\be and _\bu_\bu_\bd_\be_\bc_\bo_\bd_\be are used to send a binary file via
18 uucp (or other) mail. This combination can be used over
19 indirect mail links even when _\bu_\bu_\bs_\be_\bn_\bd(1C) is not available.
20
21 _\bU_\bu_\be_\bn_\bc_\bo_\bd_\be takes the named source file (default standard
22 input) and produces an encoded version on the standard out-
23 put. The encoding uses only printing ASCII characters, and
24 includes the mode of the file and the _\br_\be_\bm_\bo_\bt_\be_\bd_\be_\bs_\bt for recrea-
25 tion on the remote system.
26
27 _\bU_\bu_\bd_\be_\bc_\bo_\bd_\be reads an encoded file, strips off any leading and
28 trailing lines added by mailers, and recreates the original
29 file with the specified mode and name.
30
31 The intent is that all mail to the user ``decode'' should be
32 filtered through the _\bu_\bu_\bd_\be_\bc_\bo_\bd_\be program. This way the file is
33 created automatically without human intervention. This is
34 possible on the uucp network by either using _\bs_\be_\bn_\bd_\bm_\ba_\bi_\bl or by
35 making _\br_\bm_\ba_\bi_\bl be a link to _\bM_\ba_\bi_\bl instead of _\bm_\ba_\bi_\bl. In each
36 case, an alias must be created in a master file to get the
37 automatic invocation of _\bu_\bu_\bd_\be_\bc_\bo_\bd_\be.
38
39 If these facilities are not available, the file can be sent
40 to a user on the remote machine who can uudecode it manu-
41 ally.
42
43 The encode file has an ordinary text form and can be edited
44 by any text editor to change the mode or remote name.
45
46S\bSE\bEE\bE A\bAL\bLS\bSO\bO
47 atob(n), uusend(1C), uucp(1C), uux(1C), mail(1), uuencode(5)
48
49B\bBU\bUG\bGS\bS
50 The file is expanded by 35% (3 bytes become 4 plus control
51 information) causing it to take longer to transmit.
52
53 The user on the remote system who is invoking _\bu_\bu_\bd_\be_\bc_\bo_\bd_\be
54 (often _\bu_\bu_\bc_\bp) must have write permission on the specified
55 file.
56
57
58
59
60
61
62
63Printed 7/9/88 April 24, 1986 1
64
65
66