aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-24 15:06:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-24 15:06:17 +1200
commite2c26d3958311f032c0f6cc10b5c5e2d9380b5ef (patch)
tree3eaac2a9dee557840f35a72f288d4126509c22d9
parentAdd man(1) page for plmu (diff)
downloaddotfiles-e2c26d3958311f032c0f6cc10b5c5e2d9380b5ef.tar.gz
dotfiles-e2c26d3958311f032c0f6cc10b5c5e2d9380b5ef.zip
Add manual page for zs(6) in new section 6
-rw-r--r--Makefile2
-rw-r--r--README.markdown2
-rw-r--r--man/man6/zs.612
3 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d25b82be..fedbf38e 100644
--- a/Makefile
+++ b/Makefile
@@ -100,8 +100,10 @@ install-bin : test-bin install-man
install-man:
install -m 0755 -d -- \
"$(HOME)"/.local/share/man/man1 \
+ "$(HOME)"/.local/share/man/man6 \
"$(HOME)"/.local/share/man/man8
install -pm 0644 -- man/man1/* "$(HOME)"/.local/share/man/man1
+ install -pm 0644 -- man/man6/* "$(HOME)"/.local/share/man/man6
install -pm 0644 -- man/man8/* "$(HOME)"/.local/share/man/man8
install-curl :
diff --git a/README.markdown b/README.markdown
index 9ba47076..6182b10a 100644
--- a/README.markdown
+++ b/README.markdown
@@ -319,6 +319,8 @@ Scripts
tolerating blips or temporary failures in `cron(8)` scripts.
* `vis(1)` edits executable script files in `VISPATH`, defaulting to
`~/.local/bin`, for personal scripting snippets.
+* `zs(6)` prepends ā€œzā€ case-appropriately to every occurrence of ā€œsā€ in the
+ text on its standard input.
* Three URL-related shorcut scripts:
* `hurl(1)` extracts values of `href` attributes of `<a>` tags, sorts
them uniquely, and writes them to `stdout`; requires
diff --git a/man/man6/zs.6 b/man/man6/zs.6
new file mode 100644
index 00000000..2e5beb93
--- /dev/null
+++ b/man/man6/zs.6
@@ -0,0 +1,12 @@
+.TH ZS 6 "June 2016" "Manual page for zs"
+.SH NAME
+.B zs
+\- prepend occurences of "s" with "z", case-appropriately
+.SH USAGE
+.B zs /usr/share/dict/words
+.SH DESCRIPTION
+.B zs
+prepends the letter "Z" or "z" as appropriate to instances of the letter "S" or
+"s" in its standard input.
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>