Uuencoding
From Just Solve the File Format Problem
(Difference between revisions)
(→Format) |
|||
Line 7: | Line 7: | ||
== Format == | == Format == | ||
− | The header line starts with "<code>begin</code>", followed by a Unix file permission code and a filename. | + | The header line usually starts with "<code>begin</code>", followed by a Unix file permission code and a filename. The last line is "<code>end</code>". |
+ | |||
+ | A newer version of the format begins with "<code>begin-base64</code>", and ends with "<code>====</code>". | ||
Each line of data begins with a character indicating the line length. Since lines have a standard length, all lines except the last one begin with "<code>M</code>". | Each line of data begins with a character indicating the line length. Since lines have a standard length, all lines except the last one begin with "<code>M</code>". |
Revision as of 22:56, 23 October 2014
Uuencoding is a way to encode binary data as plain text, suitable for inclusion in an e-mail message or Usenet message.
Contents |
Format
The header line usually starts with "begin
", followed by a Unix file permission code and a filename. The last line is "end
".
A newer version of the format begins with "begin-base64
", and ends with "====
".
Each line of data begins with a character indicating the line length. Since lines have a standard length, all lines except the last one begin with "M
".
Software
- GNU sharutils:
uuencode
,uudecode