commit 6c2f9615ac5f63c72a9b9b1646e1d4fcafef2555
parent 89881a4e4c9fa4741f9f559f8992e2c145380c79
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 31 Jan 2015 00:25:28 +0100
uuencode.1, uudecode.1: convert to mandoc
Diffstat:
2 files changed, 25 insertions(+), 19 deletions(-)
diff --git a/uudecode.1 b/uudecode.1
@@ -1,17 +1,20 @@
-.TH UUDECODE 1 sbase\-VERSION
-.SH NAME
-uudecode \- decode a uuencoded file
-.SH SYNOPSIS
-.B uudecode
-.RI [file]
-.SH DESCRIPTION
-.B uudecode
+.Dd January 30, 2015
+.Dt UUDECODE 1 sbase\-VERSION
+.Os
+.Sh NAME
+.Nm uudecode
+.Nd decode a uuencoded file
+.Sh SYNOPSIS
+.Nm
+.Op Ar file
+.Sh DESCRIPTION
+.Nm
reads file (or by default, the standard input) and writes a decoded
version to the file specified in the uuencoded header. In case that
the file already exists, it is truncated. Otherwise a new file is
created. After the operation the permissions of the created/accessed
are changed to reflect the mode in the header.
-.SH NOTES
+.Sh IMPLEMENTATION NOTES
This version of uudecode does not currently support the base64
encoding algorithm.
For safety currently uudecode operates only on regular files and
diff --git a/uuencode.1 b/uuencode.1
@@ -1,16 +1,19 @@
-.TH UUENCODE 1 sbase\-VERSION
-.SH NAME
-uuencode \- encode a binary file
-.SH SYNOPSIS
-.B uuencode
-.RI [file]
-.RB name
-.SH DESCRIPTION
-.B uuencode
+.Dd January 30, 2015
+.Dt UUENCODE 1 sbase\-VERSION
+.Os
+.Sh NAME
+.Nm uuencode
+.Nd encode a binary file
+.Sh SYNOPSIS
+.Nm
+.Op Ar file
+.Ar name
+.Sh DESCRIPTION
+.Nm
reads file (or by default, the standard input) and writes an encoded
version to the standard output. The encoding uses only printing ASCII
characters and includes the mode of the file and the operand name
for use by uudecode.
-.SH NOTES
+.Sh IMPLEMENTATION NOTES
This version of uuencode does not currently support the base64
encoding algorithm.