aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-09-08 22:21:48 -0800
committerDavid M. Syzdek <david@syzdek.net>2022-09-08 22:21:48 -0800
commitab6d69cdc9ae1aa9dd20c169bafa5a00cef228ce (patch)
tree92361aa77107a010073629f6c5503ce7f70107c1
parente05e520d90f8272daa38771e5c01d38a14d44ce5 (diff)
downloadbindletools-ab6d69cdc9ae1aa9dd20c169bafa5a00cef228ce.tar.gz
bindletools-ab6d69cdc9ae1aa9dd20c169bafa5a00cef228ce.tar.bz2
bindletools-ab6d69cdc9ae1aa9dd20c169bafa5a00cef228ce.tar.xz
bindletools-ab6d69cdc9ae1aa9dd20c169bafa5a00cef228ce.zip
doc: adding man page for bindletools-pctenc.1
-rw-r--r--Makefile.am5
-rw-r--r--doc/mans/bindletools-pctenc.1.in103
2 files changed, 108 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2c20777..70ff5fb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -82,6 +82,7 @@ man_MANS = doc/mans/bindletools.1 \
82 doc/mans/bindletools-base32hex.1 \ 82 doc/mans/bindletools-base32hex.1 \
83 doc/mans/bindletools-base64.1 \ 83 doc/mans/bindletools-base64.1 \
84 doc/mans/bindletools-crockfordbase32.1 \ 84 doc/mans/bindletools-crockfordbase32.1 \
85 doc/mans/bindletools-pctenc.1 \
85 doc/mans/bindle_array.3 \ 86 doc/mans/bindle_array.3 \
86 doc/mans/bindle_basename_r.3 \ 87 doc/mans/bindle_basename_r.3 \
87 doc/mans/bindle_bindex.3 \ 88 doc/mans/bindle_bindex.3 \
@@ -140,6 +141,7 @@ EXTRA_DIST = $(doc_DATA) \
140 doc/mans/bindletools-base32hex.1.in \ 141 doc/mans/bindletools-base32hex.1.in \
141 doc/mans/bindletools-base64.1.in \ 142 doc/mans/bindletools-base64.1.in \
142 doc/mans/bindletools-crockfordbase32.1.in \ 143 doc/mans/bindletools-crockfordbase32.1.in \
144 doc/mans/bindletools-pctenc.1.in \
143 doc/mans/bindle_array.3.in \ 145 doc/mans/bindle_array.3.in \
144 doc/mans/bindle_basename_r.3.in \ 146 doc/mans/bindle_basename_r.3.in \
145 doc/mans/bindle_bindex.3.in \ 147 doc/mans/bindle_bindex.3.in \
@@ -298,6 +300,9 @@ doc/mans/bindletools-base64.1: Makefile $(srcdir)/doc/mans/bindletools-base64.1.
298doc/mans/bindletools-crockfordbase32.1: Makefile $(srcdir)/doc/mans/bindletools-crockfordbase32.1.in 300doc/mans/bindletools-crockfordbase32.1: Makefile $(srcdir)/doc/mans/bindletools-crockfordbase32.1.in
299 @$(do_subst_dt) 301 @$(do_subst_dt)
300 302
303doc/mans/bindletools-pctenc.1: Makefile $(srcdir)/doc/mans/bindletools-pctenc.1.in
304 @$(do_subst_dt)
305
301doc/mans/bindle_array.3: Makefile $(srcdir)/doc/mans/bindle_array.3.in 306doc/mans/bindle_array.3: Makefile $(srcdir)/doc/mans/bindle_array.3.in
302 @$(do_subst_dt) 307 @$(do_subst_dt)
303 308
diff --git a/doc/mans/bindletools-pctenc.1.in b/doc/mans/bindletools-pctenc.1.in
new file mode 100644
index 0000000..e9d7cb4
--- /dev/null
+++ b/doc/mans/bindletools-pctenc.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
33bindletools-pctenc - Encode and decode using percent-encoding/URL encoding representation
34
35.SH SYNOPSIS
36.nf
37\fBbindletools pctenc\fR [OPTIONS]
38.sp
39\fBbindletools-pctenc\fR [OPTIONS]
40.sp
41\fBpctenc\fR [OPTIONS]
42.fi
43
44.SH DESCRIPTION
45\fBbindletools-pctenc\fR encodes and decodes data using the percent-encoding
46also known as URL encoding. If \fI-s\fR is not specified, data is read from
47stdin. 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
53set debug level
54
55.TP 25
56\fB-d\fR, \fB--decode\fR
57decode input data as a percent-encoding string
58
59.TP 25
60\fB-e\fR, \fB--encode\fR
61encode input data as a percent-encoding string
62
63.TP 25
64\fB-h\fR, \fB--help\fR
65print this usage information and exit
66
67.TP 25
68\fB-n\fR, \fB--newline\fR
69add newline to end of string
70
71.TP 25
72\fB-p\fR, \fB--nopadding\fR
73do not add padding to end of encoded string
74
75.TP 25
76\fB-q\fR, \fB--quiet\fR, \fB--silent\fR
77do not print messages
78
79.TP 25
80\fB-s\fR \fIstring\fR
81string to encode or decode
82
83.TP 25
84\fB-V\fR, \fB--version\fR
85print version number and exit
86
87.TP 25
88\fB-v\fR, \fB--verbose\fR
89print 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
97David 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