Deleted Added
full compact
vgrindefs.5 (131491) vgrindefs.5 (131507)
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)vgrindefs.5 8.1 (Berkeley) 6/6/93
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)vgrindefs.5 8.1 (Berkeley) 6/6/93
33.\" $FreeBSD: head/usr.bin/vgrind/vgrindefs.5 131491 2004-07-02 22:22:35Z ru $
33.\" $FreeBSD: head/usr.bin/vgrind/vgrindefs.5 131507 2004-07-03 00:24:45Z ru $
34.\"
35.Dd June 6, 1993
36.Dt VGRINDEFS 5
37.Os
38.Sh NAME
39.Nm vgrindefs
40.Nd language definition data base for
41.Xr vgrind 1

--- 64 unchanged lines hidden (view full) ---

106Capabilities in
107.Nm
108are of two types:
109Boolean capabilities which indicate that the language has
110some particular feature
111and string
112capabilities which give a regular expression or
113keyword list.
34.\"
35.Dd June 6, 1993
36.Dt VGRINDEFS 5
37.Os
38.Sh NAME
39.Nm vgrindefs
40.Nd language definition data base for
41.Xr vgrind 1

--- 64 unchanged lines hidden (view full) ---

106Capabilities in
107.Nm
108are of two types:
109Boolean capabilities which indicate that the language has
110some particular feature
111and string
112capabilities which give a regular expression or
113keyword list.
114.Sh REGULAR EXPRESSIONS
114.Sh REGULAR EXPRESSIONS
115.Nm Vgrindefs
116uses regular expression which are very similar to those of
117.Xr ex 1
118and
119.Xr lex 1 .
120The characters `^', `$', `:' and `\e'
121are reserved characters and must be
122"quoted" with a preceding

--- 22 unchanged lines hidden (view full) ---

145last item is optional
146.It \ee
147preceding any string means that the string will not match an
148input string if the input string is preceded by an escape character (\e).
149This is typically used for languages (like C) which can include the
150string delimiter in a string by escaping it.
151.El
152.Pp
115.Nm Vgrindefs
116uses regular expression which are very similar to those of
117.Xr ex 1
118and
119.Xr lex 1 .
120The characters `^', `$', `:' and `\e'
121are reserved characters and must be
122"quoted" with a preceding

--- 22 unchanged lines hidden (view full) ---

145last item is optional
146.It \ee
147preceding any string means that the string will not match an
148input string if the input string is preceded by an escape character (\e).
149This is typically used for languages (like C) which can include the
150string delimiter in a string by escaping it.
151.El
152.Pp
153Unlike other regular expressions in the system, these match words
153Unlike other regular expressions in the system, these match words
154and not characters.
155Hence something like "(tramp|steamer)flies?"
156would match "tramp", "steamer", "trampflies", or "steamerflies".
154and not characters.
155Hence something like "(tramp|steamer)flies?"
156would match "tramp", "steamer", "trampflies", or "steamerflies".
157.Sh KEYWORD LIST
157.Sh KEYWORD LIST
158The keyword list is just a list of keywords in the language separated
159by spaces.
160If the "oc" boolean is specified, indicating that upper
161and lower case are equivalent, then all the keywords should be
162specified in lower case.
163.Sh FILES
164.Bl -tag -width /usr/share/misc/vgrindefs -compact
165.It Pa /usr/share/misc/vgrindefs
166File containing terminal descriptions.
167.El
168.Sh SEE ALSO
169.Xr troff 1 ,
170.Xr vgrind 1
171.Sh HISTORY
172The
173.Nm
174file format appeared in
175.Bx 4.2 .
158The keyword list is just a list of keywords in the language separated
159by spaces.
160If the "oc" boolean is specified, indicating that upper
161and lower case are equivalent, then all the keywords should be
162specified in lower case.
163.Sh FILES
164.Bl -tag -width /usr/share/misc/vgrindefs -compact
165.It Pa /usr/share/misc/vgrindefs
166File containing terminal descriptions.
167.El
168.Sh SEE ALSO
169.Xr troff 1 ,
170.Xr vgrind 1
171.Sh HISTORY
172The
173.Nm
174file format appeared in
175.Bx 4.2 .