uuencode 1.1 KB

1234567891011121314151617181920212223242526
  1. #------------------------------------------------------------------------------
  2. # $File: uuencode,v 1.8 2019/12/14 20:40:26 christos Exp $
  3. # uuencode: file(1) magic for ASCII-encoded files
  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. # btoa(1) is an alternative to uuencode that requires less space.
  13. 0 search/1 xbtoa\ Begin btoa'd text
  14. # ship(1) is another, much cooler alternative to uuencode.
  15. # Greg Roelofs, newt@uchicago.edu
  16. 0 search/1 $\012ship ship'd binary text
  17. # bencode(8) is used to encode compressed news batches (Bnews/Cnews only?)
  18. # Greg Roelofs, newt@uchicago.edu
  19. 0 search/1 Decode\ the\ following\ with\ bdeco bencoded News text
  20. # GRR: handle BASE64