Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: lddChapter 2
UNIX Commands
Next: Reference: line


lex [options] [files]

Generate a lexical analysis program (named lex.yy.c) based on the regular expressions and C statements contained in one or more input files. See also yacc and the Nutshell Handbook lex & yacc.



file's program statements are in C (default).


Use faster compilation (limited to small programs).


Suppress the output summary.


Print version information in lex.yy.c (if c = y) or suppress information (if c = n, the default).


Write program to standard output, not lex.yy.c.


Print a summary of machine-generated statistics.


Print version information on standard error.

Previous: Reference: lddUNIX in a Nutshell: System V EditionNext: Reference: line
Reference: lddBook IndexReference: line

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System