diff options
Diffstat (limited to 'man/man1/trs.1df')
-rw-r--r-- | man/man1/trs.1df | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/man/man1/trs.1df b/man/man1/trs.1df new file mode 100644 index 00000000..93b2cad3 --- /dev/null +++ b/man/man1/trs.1df @@ -0,0 +1,25 @@ +.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 CAVEATS +It can't replace newlines. +.SH AUTHOR +Tom Ryder <tom@sanctum.geek.nz> |