<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=32v_1m_lex</id>
		<title>32v 1m lex - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=32v_1m_lex"/>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=32v_1m_lex&amp;action=history"/>
		<updated>2026-05-12T10:06:50Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>https://gunkies.org/w/index.php?title=32v_1m_lex&amp;diff=6978&amp;oldid=prev</id>
		<title>Neozeed: New page: LEX(1)              UNIX Programmer's Manual               LEX(1)    == NAME ==      lex - generator of lexical analysis programs  == SYNOPSIS ==      lex [ -tvfn ] [ file ] ...  == DESCRI...</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=32v_1m_lex&amp;diff=6978&amp;oldid=prev"/>
				<updated>2009-10-26T14:31:50Z</updated>
		
		<summary type="html">&lt;p&gt;New page: LEX(1)              UNIX Programmer&amp;#039;s Manual               LEX(1)    == NAME ==      lex - generator of lexical analysis programs  == SYNOPSIS ==      lex [ -tvfn ] [ file ] ...  == DESCRI...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;LEX(1)              UNIX Programmer's Manual               LEX(1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NAME ==&lt;br /&gt;
     lex - generator of lexical analysis programs&lt;br /&gt;
&lt;br /&gt;
== SYNOPSIS ==&lt;br /&gt;
     lex [ -tvfn ] [ file ] ...&lt;br /&gt;
&lt;br /&gt;
== DESCRIPTION ==&lt;br /&gt;
     _L_e_x generates programs to be used in simple lexical analyis&lt;br /&gt;
     of text.  The input _f_i_l_e_s (standard input default) contain&lt;br /&gt;
     regular expressions to be searched for, and actions written&lt;br /&gt;
     in C to be executed when expressions are found.&lt;br /&gt;
&lt;br /&gt;
     A C source program, `lex.yy.c' is generated, to be compiled&lt;br /&gt;
     thus:&lt;br /&gt;
&lt;br /&gt;
          cc lex.yy.c -ll&lt;br /&gt;
&lt;br /&gt;
     This program, when run, copies unrecognized portions of the&lt;br /&gt;
     input to the output, and executes the associated C action&lt;br /&gt;
     for each regular expression that is recognized.&lt;br /&gt;
&lt;br /&gt;
     The following _l_e_x program converts upper case to lower,&lt;br /&gt;
     removes blanks at the end of lines, and replaces multiple&lt;br /&gt;
     blanks by single blanks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
          %%&lt;br /&gt;
          [A-Z] putchar(yytext[0]+'a'-'A');&lt;br /&gt;
          [ ]+$&lt;br /&gt;
          [ ]+  putchar(' ');&lt;br /&gt;
&lt;br /&gt;
     The options have the following meanings.&lt;br /&gt;
&lt;br /&gt;
     -t   Place the result on the standard output instead of in&lt;br /&gt;
          file `lex.yy.c'.&lt;br /&gt;
&lt;br /&gt;
     -v   Print a one-line summary of statistics of the generated&lt;br /&gt;
          analyzer.&lt;br /&gt;
&lt;br /&gt;
     -n   Opposite of -v; -n is default.&lt;br /&gt;
&lt;br /&gt;
     -f   `Faster' compilation: don't bother to pack the result-&lt;br /&gt;
          ing tables; limited to small programs.&lt;br /&gt;
&lt;br /&gt;
== SEE ALSO ==&lt;br /&gt;
     [[32v 1m yacc|yacc(1)]]&lt;br /&gt;
     M. E. Lesk and E. Schmidt, _L_E_X - _L_e_x_i_c_a_l _A_n_a_l_y_z_e_r _G_e_n_e_r_a_t_o_r&lt;br /&gt;
&lt;br /&gt;
[[Category:32v man section 1]]&lt;/div&gt;</summary>
		<author><name>Neozeed</name></author>	</entry>

	</feed>