August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/ccs/bin/lex [-cntv][-e | -w][-V -Q [y | n]][file]... The lex command generates C programs to be used in lexical processing of character input that can also be used as an interface to yacc. The C programs are generated from lex source code and conform to the ISO C standard. Usually, the lex command writes the program it generates to the file lex.yy.c; the state of this file is unspecified if lex exits with a non-zero exit status.
| -c | Indicate C-language action (default option). |
| -e | Generate a program that can handle EUC characters (cannot be used with the -w option). yytext[] is of type unsigned char[]. |
| -n | Suppress the summary of statistics usually written with the ... |
Read now
Unlock full access