summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/uuencode
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 03:30:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 03:30:30 +0000
commit402481c1a57fdfd137982aeb635fc812cde318f0 (patch)
treefbae54bd8f583d7e971a9921381d6fc3ffed35d9 /usr.bin/file/magdir/uuencode
parentc676a5d9145698a76a035ed3480786150513b6f2 (diff)
update from netbsd
Diffstat (limited to 'usr.bin/file/magdir/uuencode')
-rw-r--r--usr.bin/file/magdir/uuencode29
1 files changed, 26 insertions, 3 deletions
diff --git a/usr.bin/file/magdir/uuencode b/usr.bin/file/magdir/uuencode
index 607ce9b79d1..7e88619d5ca 100644
--- a/usr.bin/file/magdir/uuencode
+++ b/usr.bin/file/magdir/uuencode
@@ -1,7 +1,30 @@
#------------------------------------------------------------------------------
-# uuencoded: file(1) magic for ASCII-encoded files
+# uuencode: file(1) magic for ASCII-encoded files
#
-0 string begin uuencoded mail text
-# Btoa(1) is an alternative to uuencode that requires less space.
+
+# GRR: the first line of xxencoded files is identical to that in uuencoded
+# files, but the first character in most subsequent lines is 'h' instead of
+# 'M'. (xxencoding uses lowercase letters in place of most of uuencode's
+# punctuation and survives BITNET gateways better.) If regular expressions
+# were supported, this entry could possibly be split into two with
+# "begin\040\.\*\012M" or "begin\040\.\*\012h" (where \. and \* are REs).
+0 string begin\040 uuencoded or xxencoded text
+
+# btoa(1) is an alternative to uuencode that requires less space.
0 string xbtoa\ Begin btoa'd text
+
+# ship(1) is another, much cooler alternative to uuencode.
+# Greg Roelofs, newt@uchicago.edu
+0 string $\012ship ship'd binary text
+
+# bencode(8) is used to encode compressed news batches (Bnews/Cnews only?)
+# Greg Roelofs, newt@uchicago.edu
+0 string Decode\ the\ following\ with\ bdeco bencoded News text
+
+# BinHex is the Macintosh ASCII-encoded file format (see also "apple")
+# Daniel Quinlan, quinlan@yggdrasil.com
+11 string must\ be\ converted\ with\ BinHex BinHex binary text
+>41 string x \b, version %.3s
+
+# GRR: is MIME BASE64 encoding handled somewhere?