@@@ much mess, mostly manpages
[mLib] / codec / bincode.1.in
similarity index 64%
rename from codec/bincode.1
rename to codec/bincode.1.in
index 61fa6ca..00b5bbc 100644 (file)
@@ -1,8 +1,42 @@
 .\" nroff
+.\"
+.\" Manual for `bincode' utility
+.\"
+.\" (c) 2009, 2014, 2024 Straylight/Edgeware
+.\"
+.
+.\"----- Licensing notice ---------------------------------------------------
+.\"
+.\" This file is part of the mLib utilities library.
+.\"
+.\" mLib is free software: you can redistribute it and/or modify it under
+.\" the terms of the GNU Library General Public License as published by
+.\" the Free Software Foundation; either version 2 of the License, or (at
+.\" your option) any later version.
+.\"
+.\" mLib is distributed in the hope that it will be useful, but WITHOUT
+.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
+.\" License for more details.
+.\"
+.\" You should have received a copy of the GNU Library General Public
+.\" License along with mLib.  If not, write to the Free Software
+.\" Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+.\" USA.
+.
+.\"--------------------------------------------------------------------------
+.so ../defs.man @@@PRE@@@
+.
+.\"--------------------------------------------------------------------------
 .TH bincode 1 "9 January 2009" "Straylight/Edgeware" "mLib utilities library"
+.
+.\"--------------------------------------------------------------------------
 .SH NAME
 bincode \- binary-to-text encoding and decoding
+.
+.\"--------------------------------------------------------------------------
 .SH SYNOPSIS
+.
 .B bincode
 .RB [ \-de]
 .RB [ \-f
@@ -14,7 +48,10 @@ bincode \- binary-to-text encoding and decoding
 .RB [ \-o
 .IR output ]
 .RI [ file ...]
+.
+.\"--------------------------------------------------------------------------
 .SH DESCRIPTION
+.
 The
 .B bincode
 program encodes binary data as plain text (suitable, for example, for
@@ -102,8 +139,16 @@ difference, named files are read in binary mode when encoding and in
 text mode when decoding.
 .PP
 If an error is encountered, the output may be partially written.
+.
+.\"--------------------------------------------------------------------------
 .SH "SEE ALSO"
+.
 .BR codec (3).
+.
+.\"--------------------------------------------------------------------------
 .SH "AUTHOR"
+.
 Mark Wooding, <mdw@distorted.org.uk>
-.PP
+.
+.\"----- That's all, folks --------------------------------------------------
+