aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apropos.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-30 16:06:14 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-30 16:06:14 +0000
commit8ed0e0c9bf0dda6d753339d28f81747e661233a1 (patch)
tree9d865e0cb521befb70e074e061415446a5cbf4dd /apropos.1
parentb404dfc4c82d729cc030ce0017617c6ade4d32ac (diff)
downloadmandoc-8ed0e0c9bf0dda6d753339d28f81747e661233a1.tar.gz
mandoc-8ed0e0c9bf0dda6d753339d28f81747e661233a1.tar.zst
mandoc-8ed0e0c9bf0dda6d753339d28f81747e661233a1.zip
Escape punctuation characters that have a different meaning in -Tpdf.
~, `, and ' get translated to non-ASCII characters by most troff implementations when generating PostScript/PDF output. When the original ASCII character is meant, it needs to be manually escaped. Patch from bentley@.
Diffstat (limited to 'apropos.1')
-rw-r--r--apropos.116
1 files changed, 8 insertions, 8 deletions
diff --git a/apropos.1 b/apropos.1
index 532e4dd7..967a3243 100644
--- a/apropos.1
+++ b/apropos.1
@@ -1,4 +1,4 @@
-.\" $Id: apropos.1,v 1.37 2015/02/16 16:23:54 schwarze Exp $
+.\" $Id: apropos.1,v 1.38 2015/03/30 16:06:14 schwarze Exp $
.\"
.\" Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2011, 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 16 2015 $
+.Dd $Mdocdate: March 30 2015 $
.Dt APROPOS 1
.Os
.Sh NAME
@@ -210,7 +210,7 @@ This has syntax
.Sm off
.Oo
.Op Ar key Op , Ar key ...
-.Pq Cm = | ~
+.Pq Cm = | \(ti
.Oc
.Ar val ,
.Sm on
@@ -227,7 +227,7 @@ for a list of available keys.
Operator
.Cm =
evaluates a substring, while
-.Cm ~
+.Cm \(ti
evaluates a regular expression.
.It Fl i Ar term
If
@@ -398,7 +398,7 @@ as well:
.Pp
Search in names and descriptions using a regular expression:
.Pp
-.Dl $ apropos '~set.?[ug]id'
+.Dl $ apropos \(aq\(tiset.?[ug]id\(aq
.Pp
Search for manuals in the library section mentioning both the
.Qq optind
@@ -413,15 +413,15 @@ Do exactly the same as calling
with the argument
.Qq ssh :
.Pp
-.Dl $ apropos \-\- \-i 'Nm~[[:<:]]ssh[[:>:]]'
+.Dl $ apropos \-\- \-i \(aqNm\(ti[[:<:]]ssh[[:>:]]\(aq
.Pp
The following two invocations are equivalent:
.Pp
.D1 Li $ apropos -S Ar arch Li -s Ar section expression
.Bd -ragged -offset indent
.Li $ apropos \e( Ar expression Li \e)
-.Li -a arch~^( Ns Ar arch Ns Li |any)$
-.Li -a sec~^ Ns Ar section Ns Li $
+.Li -a arch\(ti^( Ns Ar arch Ns Li |any)$
+.Li -a sec\(ti^ Ns Ar section Ns Li $
.Ed
.Sh SEE ALSO
.Xr man 1 ,