Wed Jan 19 00:21:19 2011 UTC ()
Fix PostScript formatting of the character classes table.


(uwe)
diff -r1.1 -r1.2 src/share/man/man7/glob.7

cvs diff -r1.1 -r1.2 src/share/man/man7/glob.7 (expand / switch to unified diff)

--- src/share/man/man7/glob.7 2010/11/30 20:59:10 1.1
+++ src/share/man/man7/glob.7 2011/01/19 00:21:19 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: glob.7,v 1.1 2010/11/30 20:59:10 jruoho Exp $ 1.\" $NetBSD: glob.7,v 1.2 2011/01/19 00:21:19 uwe Exp $
2.\" 2.\"
3.\" $OpenBSD: glob.7,v 1.3 2009/12/26 15:24:54 schwarze Exp $ 3.\" $OpenBSD: glob.7,v 1.3 2009/12/26 15:24:54 schwarze Exp $
4.\" 4.\"
5.\" Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com> 5.\" Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
6.\" 6.\"
7.\" Permission to use, copy, modify, and distribute this software for any 7.\" Permission to use, copy, modify, and distribute this software for any
8.\" purpose with or without fee is hereby granted, provided that the above 8.\" purpose with or without fee is hereby granted, provided that the above
9.\" copyright notice and this permission notice appear in all copies. 9.\" copyright notice and this permission notice appear in all copies.
10.\" 10.\"
11.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
@@ -75,30 +75,30 @@ instead of the end of the list. @@ -75,30 +75,30 @@ instead of the end of the list.
75Also, a 75Also, a
76.Ql \&! 76.Ql \&!
77appearing at the start of the list has special meaning (see below), so to 77appearing at the start of the list has special meaning (see below), so to
78represent itself it must be quoted or appear later in the list. 78represent itself it must be quoted or appear later in the list.
79.Pp 79.Pp
80Within a bracket expression, the name of a 80Within a bracket expression, the name of a
81.Em character class 81.Em character class
82enclosed in 82enclosed in
83.Sq [: 83.Sq [:
84and 84and
85.Sq :] 85.Sq :]
86stands for the list of all characters belonging to that class. 86stands for the list of all characters belonging to that class.
87Supported character classes: 87Supported character classes:
88.Bl -column "xdigit" "xdigit" "xdigit" -offset indent 88.Bl -column ".Li xdigit" ".Li xdigit" ".Li xdigit" -offset indent
89.It Li "alnum" Ta "cntrl" Ta "lower" Ta "space" 89.It Li "alnum" Ta Li "cntrl" Ta Li "lower" Ta Li "space"
90.It Li "alpha" Ta "digit" Ta "print" Ta "upper" 90.It Li "alpha" Ta Li "digit" Ta Li "print" Ta Li "upper"
91.It Li "blank" Ta "graph" Ta "punct" Ta "xdigit" 91.It Li "blank" Ta Li "graph" Ta Li "punct" Ta Li "xdigit"
92.El 92.El
93.Pp 93.Pp
94These match characters using the macros specified in 94These match characters using the macros specified in
95.Xr ctype 3 . 95.Xr ctype 3 .
96A character class may not be used as an endpoint of a range. 96A character class may not be used as an endpoint of a range.
97.It [!..] 97.It [!..]
98Like [..], 98Like [..],
99except it matches any character not inside the brackets. 99except it matches any character not inside the brackets.
100.It \e 100.It \e
101Matches the character following it verbatim. 101Matches the character following it verbatim.
102This is useful to quote the special characters 102This is useful to quote the special characters
103.Ql \&? , 103.Ql \&? ,
104.Ql \&* , 104.Ql \&* ,