7e88619d5ca963a41f2dec4c010337bc993496df
[dragonfly.git] / contrib / file-4 / magic / Magdir / uuencode
1
2 #------------------------------------------------------------------------------
3 # uuencode:  file(1) magic for ASCII-encoded files
4 #
5
6 # GRR:  the first line of xxencoded files is identical to that in uuencoded
7 # files, but the first character in most subsequent lines is 'h' instead of
8 # 'M'.  (xxencoding uses lowercase letters in place of most of uuencode's
9 # punctuation and survives BITNET gateways better.)  If regular expressions
10 # were supported, this entry could possibly be split into two with
11 # "begin\040\.\*\012M" or "begin\040\.\*\012h" (where \. and \* are REs).
12 0       string          begin\040       uuencoded or xxencoded text
13
14 # btoa(1) is an alternative to uuencode that requires less space.
15 0       string          xbtoa\ Begin    btoa'd text
16
17 # ship(1) is another, much cooler alternative to uuencode.
18 # Greg Roelofs, newt@uchicago.edu
19 0       string          $\012ship       ship'd binary text
20
21 # bencode(8) is used to encode compressed news batches (Bnews/Cnews only?)
22 # Greg Roelofs, newt@uchicago.edu
23 0       string  Decode\ the\ following\ with\ bdeco     bencoded News text
24
25 # BinHex is the Macintosh ASCII-encoded file format (see also "apple")
26 # Daniel Quinlan, quinlan@yggdrasil.com
27 11      string  must\ be\ converted\ with\ BinHex       BinHex binary text
28 >41     string  x                                       \b, version %.3s
29
30 # GRR:  is MIME BASE64 encoding handled somewhere?