home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

lex

/usr/ccs/bin/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 lex & yacc , which is listed in the Bibliography.

Options

-c

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

-e

Handle EUC (Extended Unix Code, i.e., 8-bit) characters. Mutually exclusive with -w . This gives yytext[] type unsigned char . Solaris only.

-n

Suppress the output summary.

-Q c

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

-t

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

-v

Print a summary of machine-generated statistics.

-V

Print version information on standard error.

-w

Handle EUC (8-bit or wider) characters. Mutually exclusive with -e . This gives yytext[] type wchar_t . Solaris only.


Previous: Reference: ldd UNIX in a Nutshell: System V Edition Next: Reference: line
Reference: ldd Book Index Reference: 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










??????????????@Mail.ru