aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-24 16:56:00 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-24 16:56:00 +1200
commitcadc05f5acb0b495b93b15981a404077e0d2dee3 (patch)
tree085529d29b42d0a5605dcd57225cac7a95c4e0e9 /man
parentExit 2 with usage errors from gwp(1df) (diff)
downloaddotfiles-cadc05f5acb0b495b93b15981a404077e0d2dee3.tar.gz
dotfiles-cadc05f5acb0b495b93b15981a404077e0d2dee3.zip
Add trs(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/trs.1df23
1 files changed, 23 insertions, 0 deletions
diff --git a/man/man1/trs.1df b/man/man1/trs.1df
new file mode 100644
index 00000000..fa5d2d19
--- /dev/null
+++ b/man/man1/trs.1df
@@ -0,0 +1,23 @@
+.TH TRS 1df "May 2017" "Manual page for trs"
+.SH NAME
+.B trs
+\- string version of tr(1)
+.SH SYNOPSIS
+.B trs
+STRING REPLACEMENT
+< file
+.br
+program |
+.B trs
+STRING REPLACEMENT
+.SH DESCRIPTION
+.B trs
+replaces the string given in its first argument with the string given in its
+second, with no regex metacharacters, in a way that should work on all POSIX
+implementations. It is thereby the string complement for tr(1).
+.P
+The first argument cannot be a null string. The second argument can be blank
+(but must still be specified) to implicitly delete all occurrences of the
+string.
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>