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