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