aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-24 12:21:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-24 12:21:18 +1200
commite9d23be08cd4c755c9c0bdba1f585144f1338ef2 (patch)
tree9b30f3a9d99938168e4873d28f1a7ec5b241c126
parentAdd a simple wgetrc (diff)
downloaddotfiles-e9d23be08cd4c755c9c0bdba1f585144f1338ef2.tar.gz
dotfiles-e9d23be08cd4c755c9c0bdba1f585144f1338ef2.zip
Add a caveat to trs(1df)
-rw-r--r--bin/trs.awk2
-rw-r--r--man/man1/trs.1df2
2 files changed, 3 insertions, 1 deletions
diff --git a/bin/trs.awk b/bin/trs.awk
index 5966c520..8d0a1ef0 100644
--- a/bin/trs.awk
+++ b/bin/trs.awk
@@ -1,4 +1,4 @@
-# Substitute one string for another in input (no regex)
+# Substitute one string for another in input (no newlines, no regex)
BEGIN {
# Name self
self = "trs"
diff --git a/man/man1/trs.1df b/man/man1/trs.1df
index fa5d2d19..93b2cad3 100644
--- a/man/man1/trs.1df
+++ b/man/man1/trs.1df
@@ -19,5 +19,7 @@ implementations. It is thereby the string complement for tr(1).
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 CAVEATS
+It can't replace newlines.
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>