diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-09-08 21:15:28 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-09-08 21:15:28 -0800 |
| commit | 32121b49270cc93979232e3f0b3198fefd5d1cd0 (patch) | |
| tree | 10ac1b8eb58e42322020a7482cbe46121ff24e4a | |
| parent | 09ed4fffaf4f0aa0ecf89bb71f568d7a7cd8397c (diff) | |
| download | bindletools-32121b49270cc93979232e3f0b3198fefd5d1cd0.tar.gz bindletools-32121b49270cc93979232e3f0b3198fefd5d1cd0.tar.bz2 bindletools-32121b49270cc93979232e3f0b3198fefd5d1cd0.tar.xz bindletools-32121b49270cc93979232e3f0b3198fefd5d1cd0.zip | |
doc: adding man page for bindletools-base32.1
| -rw-r--r-- | Makefile.am | 5 | ||||
| -rw-r--r-- | doc/mans/bindletools-base32.1.in | 103 |
2 files changed, 108 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 4e20716..9af24d8 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -78,6 +78,7 @@ lib_LIBRARIES = | |||
| 78 | man_MANS = doc/mans/bindletools.1 \ | 78 | man_MANS = doc/mans/bindletools.1 \ |
| 79 | doc/mans/bindletools.3 \ | 79 | doc/mans/bindletools.3 \ |
| 80 | doc/mans/bindletools-base16.1 \ | 80 | doc/mans/bindletools-base16.1 \ |
| 81 | doc/mans/bindletools-base32.1 \ | ||
| 81 | doc/mans/bindle_array.3 \ | 82 | doc/mans/bindle_array.3 \ |
| 82 | doc/mans/bindle_basename_r.3 \ | 83 | doc/mans/bindle_basename_r.3 \ |
| 83 | doc/mans/bindle_bindex.3 \ | 84 | doc/mans/bindle_bindex.3 \ |
| @@ -132,6 +133,7 @@ EXTRA_DIST = $(doc_DATA) \ | |||
| 132 | doc/mans/bindletools.1.in \ | 133 | doc/mans/bindletools.1.in \ |
| 133 | doc/mans/bindletools.3.in \ | 134 | doc/mans/bindletools.3.in \ |
| 134 | doc/mans/bindletools-base16.1.in \ | 135 | doc/mans/bindletools-base16.1.in \ |
| 136 | doc/mans/bindletools-base32.1.in \ | ||
| 135 | doc/mans/bindle_array.3.in \ | 137 | doc/mans/bindle_array.3.in \ |
| 136 | doc/mans/bindle_basename_r.3.in \ | 138 | doc/mans/bindle_basename_r.3.in \ |
| 137 | doc/mans/bindle_bindex.3.in \ | 139 | doc/mans/bindle_bindex.3.in \ |
| @@ -278,6 +280,9 @@ doc/mans/bindletools.3: Makefile $(srcdir)/doc/mans/bindletools.3.in | |||
| 278 | doc/mans/bindletools-base16.1: Makefile $(srcdir)/doc/mans/bindletools-base16.1.in | 280 | doc/mans/bindletools-base16.1: Makefile $(srcdir)/doc/mans/bindletools-base16.1.in |
| 279 | @$(do_subst_dt) | 281 | @$(do_subst_dt) |
| 280 | 282 | ||
| 283 | doc/mans/bindletools-base32.1: Makefile $(srcdir)/doc/mans/bindletools-base32.1.in | ||
| 284 | @$(do_subst_dt) | ||
| 285 | |||
| 281 | doc/mans/bindle_array.3: Makefile $(srcdir)/doc/mans/bindle_array.3.in | 286 | doc/mans/bindle_array.3: Makefile $(srcdir)/doc/mans/bindle_array.3.in |
| 282 | @$(do_subst_dt) | 287 | @$(do_subst_dt) |
| 283 | 288 | ||
diff --git a/doc/mans/bindletools-base32.1.in b/doc/mans/bindletools-base32.1.in new file mode 100644 index 0000000..01d2e8a --- /dev/null +++ b/doc/mans/bindletools-base32.1.in | |||
| @@ -0,0 +1,103 @@ | |||
| 1 | .\" | ||
| 2 | .\" Bindle Binaries Tools | ||
| 3 | .\" Copyright (C) 2022 David M. Syzdek <david@syzdek.net>. | ||
| 4 | .\" All rights reserved. | ||
| 5 | .\" | ||
| 6 | .\" Redistribution and use in source and binary forms, with or without | ||
| 7 | .\" modification, are permitted provided that the following conditions are | ||
| 8 | .\" met: | ||
| 9 | .\" | ||
| 10 | .\" * Redistributions of source code must retain the above copyright | ||
| 11 | .\" notice, this list of conditions and the following disclaimer. | ||
| 12 | .\" * Redistributions in binary form must reproduce the above copyright | ||
| 13 | .\" notice, this list of conditions and the following disclaimer in the | ||
| 14 | .\" documentation and/or other materials provided with the distribution. | ||
| 15 | .\" * Neither the name of David M. Syzdek nor the | ||
| 16 | .\" names of its contributors may be used to endorse or promote products | ||
| 17 | .\" derived from this software without specific prior written permission. | ||
| 18 | .\" | ||
| 19 | .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | ||
| 20 | .\" IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
| 21 | .\" THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 22 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DAVID M. SYZDEK BE LIABLE FOR | ||
| 23 | .\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 24 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
| 25 | .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
| 26 | .\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 27 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 28 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 29 | .\" SUCH DAMAGE. | ||
| 30 | .\" | ||
| 31 | .TH "BINDLETOOLS" "1" "@RELEASE_MONTH@" "@PACKAGE_NAME@" "User Commands" | ||
| 32 | .SH NAME | ||
| 33 | bindletools-base32 - Encode and decode using Base32 representation | ||
| 34 | |||
| 35 | .SH SYNOPSIS | ||
| 36 | .nf | ||
| 37 | \fBbindletools base32\fR [OPTIONS] | ||
| 38 | .sp | ||
| 39 | \fBbindletools-base32\fR [OPTIONS] | ||
| 40 | .sp | ||
| 41 | \fBbase32\fR [OPTIONS] | ||
| 42 | .fi | ||
| 43 | |||
| 44 | .SH DESCRIPTION | ||
| 45 | \fBbindletools-base32\fR encodes and decodes data using the base 32 encoding | ||
| 46 | described in RFC 4648. If \fI-s\fR is not specified, data is read from stdin. | ||
| 47 | The resulting string is printed to stdout. | ||
| 48 | |||
| 49 | .SH OPTIONS | ||
| 50 | |||
| 51 | .TP 25 | ||
| 52 | \fB-D\fR \fIlevel\fR, \fB--debug\fR=\fIlevel\fR | ||
| 53 | set debug level | ||
| 54 | |||
| 55 | .TP 25 | ||
| 56 | \fB-d\fR, \fB--decode\fR | ||
| 57 | decode input data as a base 32 string | ||
| 58 | |||
| 59 | .TP 25 | ||
| 60 | \fB-e\fR, \fB--encode\fR | ||
| 61 | add newline to end of string | ||
| 62 | |||
| 63 | .TP 25 | ||
| 64 | \fB-h\fR, \fB--help\fR | ||
| 65 | print this usage information and exit | ||
| 66 | |||
| 67 | .TP 25 | ||
| 68 | \fB-n\fR, \fB--newline\fR | ||
| 69 | decode input data as a base 32 string | ||
| 70 | |||
| 71 | .TP 25 | ||
| 72 | \fB-p\fR, \fB--nopadding\fR | ||
| 73 | do not add padding to end of encoded string | ||
| 74 | |||
| 75 | .TP 25 | ||
| 76 | \fB-q\fR, \fB--quiet\fR, \fB--silent\fR | ||
| 77 | do not print messages | ||
| 78 | |||
| 79 | .TP 25 | ||
| 80 | \fB-s\fR \fIstring\fR | ||
| 81 | string to encode or decode | ||
| 82 | |||
| 83 | .TP 25 | ||
| 84 | \fB-V\fR, \fB--version\fR | ||
| 85 | print version number and exit | ||
| 86 | |||
| 87 | .TP 25 | ||
| 88 | \fB-v\fR, \fB--verbose\fR | ||
| 89 | print verbose messages | ||
| 90 | |||
| 91 | .SH SEE ALSO | ||
| 92 | .BR bindletools (1), | ||
| 93 | .BR bindle_decode (3), | ||
| 94 | .BR bindle_encode (3) | ||
| 95 | |||
| 96 | .SH AUTHOR | ||
| 97 | David M. Syzdek <david@syzdek.net> | ||
| 98 | |||
| 99 | .SH ACKNOWLEDGEMENTS | ||
| 100 | \fB@PACKAGE_NAME@\fR is developed and maintained by David M. Syzdek | ||
| 101 | <david@syzdek.net>. | ||
| 102 | |||
| 103 | .\" end of man page | ||
