1226048Sobrien
268349Sobrien#------------------------------------------------------------------------------
3226048Sobrien# $File: uuencode,v 1.7 2009/09/19 16:28:13 christos Exp $
468349Sobrien# uuencode:  file(1) magic for ASCII-encoded files
568349Sobrien#
668349Sobrien
768349Sobrien# GRR:  the first line of xxencoded files is identical to that in uuencoded
868349Sobrien# files, but the first character in most subsequent lines is 'h' instead of
968349Sobrien# 'M'.  (xxencoding uses lowercase letters in place of most of uuencode's
1068349Sobrien# punctuation and survives BITNET gateways better.)  If regular expressions
1168349Sobrien# were supported, this entry could possibly be split into two with
1268349Sobrien# "begin\040\.\*\012M" or "begin\040\.\*\012h" (where \. and \* are REs).
13186690Sobrien0	search/1	begin\ 		uuencoded or xxencoded text
1468349Sobrien
1568349Sobrien# btoa(1) is an alternative to uuencode that requires less space.
16186690Sobrien0	search/1	xbtoa\ Begin	btoa'd text
1768349Sobrien
1868349Sobrien# ship(1) is another, much cooler alternative to uuencode.
1968349Sobrien# Greg Roelofs, newt@uchicago.edu
20186690Sobrien0	search/1	$\012ship	ship'd binary text
2168349Sobrien
2268349Sobrien# bencode(8) is used to encode compressed news batches (Bnews/Cnews only?)
2368349Sobrien# Greg Roelofs, newt@uchicago.edu
24186690Sobrien0	search/1	Decode\ the\ following\ with\ bdeco	bencoded News text
2568349Sobrien
2668349Sobrien# BinHex is the Macintosh ASCII-encoded file format (see also "apple")
2768349Sobrien# Daniel Quinlan, quinlan@yggdrasil.com
28186690Sobrien11	search/1	must\ be\ converted\ with\ BinHex	BinHex binary text
29186690Sobrien>41	search/1	x					\b, version %.3s
3068349Sobrien
31186690Sobrien# GRR: handle BASE64
32