Print this page
2926 lex ignores -Y

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/lex.1
          +++ new/usr/src/man/man1/lex.1
   1    1  '\" te
        2 +.\" Copyright (c) 2014 Gary Mills
   2    3  .\"  Copyright (c) 1992, X/Open Company Limited  All Rights Reserved  Portions Copyright (c) 1997, Sun Microsystems, Inc.  All Rights Reserved
   3    4  .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
   4    5  .\" http://www.opengroup.org/bookstore/.
   5    6  .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   6    7  .\"  This notice shall appear on any product containing this material.
   7    8  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   8    9  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   9   10  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  10      -.TH LEX 1 "Aug 22, 1997"
       11 +.TH LEX 1 "Jan 1, 2014"
  11   12  .SH NAME
  12   13  lex \- generate programs for lexical tasks
  13   14  .SH SYNOPSIS
  14   15  .LP
  15   16  .nf
  16      -\fBlex\fR [\fB-cntv\fR] [\fB-e\fR | \fB-w\fR] [\fB-V\fR \fB-Q\fR [y | n]] [\fIfile\fR]...
       17 +\fBlex\fR [\fB-cntv\fR] [\fB-e\fR | \fB-w\fR] [\fB-V\fR \fB-Q\fR [y | n]] [\fB-Y\fR \fIdirectory\fR]] [\fIfile\fR]...
  17   18  .fi
  18   19  
  19   20  .SH DESCRIPTION
  20   21  .sp
  21   22  .LP
  22   23  The \fBlex\fR utility generates C programs to be used in lexical processing of
  23   24  character input, and that can be used as an interface to \fByacc\fR. The C
  24   25  programs are generated from \fBlex\fR source code and conform to the ISO C
  25   26  standard. Usually, the \fBlex\fR utility writes the program it generates to the
  26   27  file \fBlex.yy.c\fR. The state of this file is unspecified if \fBlex\fR exits
↓ open down ↓ 78 lines elided ↑ open up ↑
 105  106  .ne 2
 106  107  .na
 107  108  \fB\fB\fR\fB-Q\fR\fB[y|n]\fR \fR
 108  109  .ad
 109  110  .RS 12n
 110  111  Prints out version information to output file \fBlex.yy.c\fR by using
 111  112  \fB-Qy\fR. The \fB-Qn\fR option does not print out version information and is
 112  113  the default.
 113  114  .RE
 114  115  
      116 +.sp
      117 +.ne 2
      118 +.na
      119 +\fB\fB\fR\fB-Y\fR \fBdirectory\fR \fR
      120 +.ad
      121 +.RS 12n
      122 +Designates an alternate directory that contains the driver files
      123 +used by \fBlex\fR.
      124 +.RE
      125 +
 115  126  .SH OPERANDS
 116  127  .sp
 117  128  .LP
 118  129  The following operand is supported:
 119  130  .sp
 120  131  .ne 2
 121  132  .na
 122  133  \fB\fIfile\fR \fR
 123  134  .ad
 124  135  .RS 9n
↓ open down ↓ 864 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX