Annotation of coherent/a/usr/man/COHERENT/uuencode, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: uuencode                     Command                     uuencode
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Encode a binary file for transmission to a remote system
                      9: 
                     10: uuuueennccooddee [ _s_o_u_r_c_e ] _o_u_t_p_u_t_f_i_l_e
                     11: 
                     12: uuencode prepares a binary file for transmission to a remote des-
                     13: tination via  uucp.  uuencode takes binary  input and produces an
                     14: encoded  version, consisting  of printable  ASCII  characters, on
                     15: standard output,  which may be  redirected or piped  to uucp.  If
                     16: source is not specified, the standard input is read.
                     17: 
                     18: The format of the encoded file is as follows:
                     19: 
                     20: 1. A header line starting with the characters begin followed by a
                     21:    space.  This is followed by the mode of the file in octal (see
                     22:    chmod for  details) and the name of  the output file specified
                     23:    on the command line.  These last two fields are also separated
                     24:    by a  space.  The mode and  the system name can  be changed by
                     25:    directing the output into a file and editing it.
                     26: 
                     27: 2. The body of the file, consisting of a number of lines, each no
                     28:    more than  62 characters long, including  a newline character.
                     29:    Each line  starts with a  character count written  as a single
                     30:    ASCII character,  representing an integer value  from 0 (octal
                     31:    40) to  63 (octal 135) giving the number  of characters in the
                     32:    rest of the line.   This is followed by the encoded characters
                     33:    and a newline.  The last line of the body is a line consisting
                     34:    of an ASCII space (octal 40).
                     35: 
                     36: 3. The trailer line has just  the characters end on a line by it-
                     37:    self.
                     38: 
                     39: The encoding  is done by  taking three bytes and  storing them in
                     40: four characters, six bits per character.
                     41: 
                     42: ***** Example *****
                     43: 
                     44: To encode the file tmp consisting of the line
                     45: 
                     46: 
                     47:         The quick brown fox jumps over the lazy dog.
                     48: 
                     49: 
                     50: to be sent to the remote system george, enter:
                     51: 
                     52: 
                     53:         uuencode tmp sys
                     54: 
                     55: 
                     56: The output will be:
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 
                     67: 
                     68: 
                     69: uuencode                     Command                     uuencode
                     70: 
                     71: 
                     72: 
                     73:         begin 644 sys
                     74:         M5&AE('%U:6-K(&)R;W=N(&9O>"!J=6UP<R!O=F5R('1H92!L87IY(&1O9RX*
                     75: 
                     76:         end
                     77: 
                     78: 
                     79: Note  that the  third  line consists  of  a space  followed by  a
                     80: newline.
                     81: 
                     82: ***** See Also *****
                     83: 
                     84: commands, uucp, UUCP, uudecode
                     85: 
                     86: ***** Notes *****
                     87: 
                     88: The file  is expanded by  more than one  third, causing increased
                     89: transmission  time.  This  can  be a  factor  when sending  large
                     90: files.
                     91: 
                     92: 
                     93: 
                     94: 
                     95: 
                     96: 
                     97: 
                     98: 
                     99: 
                    100: 
                    101: 
                    102: 
                    103: 
                    104: 
                    105: 
                    106: 
                    107: 
                    108: 
                    109: 
                    110: 
                    111: 
                    112: 
                    113: 
                    114: 
                    115: 
                    116: 
                    117: 
                    118: 
                    119: 
                    120: 
                    121: 
                    122: 
                    123: 
                    124: 
                    125: 
                    126: 
                    127: 
                    128: 
                    129: 
                    130: COHERENT Lexicon                                           Page 2
                    131: 
                    132: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.