/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.
-cfile's program statements are in C (default).
-eHandle EUC (Extended Unix Code, i.e., 8-bit) characters. Mutually exclusive with -w. This gives yytext[] type unsigned char. Solaris only.
-nSuppress the output summary.
-QcPrint version information in lex.yy.c (if c = y) or suppress information (if c = n, the default).
-tWrite program to standard output, not lex.yy.c.
-vPrint a summary of machine-generated statistics.
-VPrint version information on standard error.
-wHandle EUC (8-bit or wider) characters. Mutually exclusive with -e. This gives yytext[] type wchar_t. Solaris only.