1 2#------------------------------------------------------------------------------ 3# $File: uuencode,v 1.8 2019/12/14 20:40:26 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# GRR: handle BASE64 27