MPE/iX Shell and Utilities Reference Manual, Vol 1
lex(1) MPE/iX Shell and Utilities lex(1)
–h displays a brief list of the options and quits.
–l suppresses #line directives in the generated code.
–n suppresses the display of table sizes by the –v option. If you did not specify –v and
there are no table sizes specified in file.l, lex behaves as though you specified –n.
–o file.c
writes the lexical analyzer (internal state tables) to the named output file, instead of
the default lex.yy.c.
–P proto
uses the named code file, instead of the default prototype file /etc/yylex.c.
–p prefix
uses the given prefix instead of the prefix yy in the generated code.
–T writes a description of the analyzer to the file l.output.
–t writes the lexical analyzer to standard output, instead of the file lex.yy.c.
–v displays the space used by the various internal tables. Normally, lex displays these
statistics on the standard output, but if you also specified the –t option, it displays
them on the standard error. If you did not choose this option and file.l specifies table
sizes, lex still displays these statistics unless you specified the –n option.
FILES
l.output
scanner machine description
lex.yy.c
tables and action routines
/etc/yylex.c
the prototype lex scanner
/usr/lib/libl.a
UNIX LEX library
1-288 Commands and Utilities