summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-09-21 09:24:14 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-09-21 09:24:14 +0000
commit67258138b7f72b2a8e53858b40faf11b64b75b3a (patch)
tree67689b69b6729a104113b93f1f9b1cfa23f98cdd /usr.bin
parentbf9bb371fa8ad70d319867dd98728d5089b47b80 (diff)
Mention lex and flex++, from Rob Pierce. ok jmc
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/lex/flex.117
1 files changed, 14 insertions, 3 deletions
diff --git a/usr.bin/lex/flex.1 b/usr.bin/lex/flex.1
index f2de270614a..a81d3c40118 100644
--- a/usr.bin/lex/flex.1
+++ b/usr.bin/lex/flex.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: flex.1,v 1.41 2015/09/07 15:28:06 sobrado Exp $
+.\" $OpenBSD: flex.1,v 1.42 2015/09/21 09:24:13 nicm Exp $
.\"
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -29,11 +29,13 @@
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE.
.\"
-.Dd $Mdocdate: September 7 2015 $
+.Dd $Mdocdate: September 21 2015 $
.Dt FLEX 1
.Os
.Sh NAME
-.Nm flex
+.Nm flex ,
+.Nm flex++ ,
+.Nm lex
.Nd fast lexical analyzer generator
.Sh SYNOPSIS
.Nm
@@ -70,6 +72,15 @@ When the executable is run, it analyzes its input for occurrences
of the regular expressions.
Whenever it finds one, it executes the corresponding C code.
.Pp
+.Nm lex
+is a synonym for
+.Nm flex .
+.Pp
+.Nm flex++
+is a synonym for
+.Nm
+.Fl + .
+.Pp
The manual includes both tutorial and reference sections:
.Bl -ohang
.It Sy Some Simple Examples