Changeset ef13657 for chapter06/flex.xml


Ignore:
Timestamp:
08/08/2004 02:11:09 AM (20 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
6.0
Children:
5ba3d1d
Parents:
6e41459
Message:

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4000 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/flex.xml

    r6e41459 ref13657  
    3434<screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian_fixes-2.patch</userinput></screen>
    3535
    36 <para>The GNU autotools detects that the Flex source code has been modified by
    37 the previous patch, and tries to update the manual page accordingly, but this
    38 breaks on many systems, and the default page is fine, so make sure it doesn't
    39 get regenerated:</para>
     36<para>The GNU autotools detects that the Flex source code has been
     37modified by the previous patch, and tries to update the manual page
     38accordingly. This does not work correctly on many systems, and the
     39default page is fine, so make sure it does not get regenerated:</para>
    4040
    4141<screen><userinput>touch doc/flex.1</userinput></screen>
     
    5252<userinput>make check</userinput>.</para>
    5353
    54 <para>Now install the package:</para>
     54<para>Install the package:</para>
    5555
    5656<screen><userinput>make install</userinput></screen>
    5757
    58 <para>There are some packages that expect to find the <emphasis>lex</emphasis>
    59 library in <filename>/usr/lib</filename>. Create a symlink to account for
     58<para>There are some packages that expect to find the
     59<filename>lex</filename> library in <filename
     60class="directory">/usr/lib</filename>. Create a symlink to account for
    6061this:</para>
    6162
    6263<screen><userinput>ln -s libfl.a /usr/lib/libl.a</userinput></screen>
    6364
    64 <para>A few programs don't know about <command>flex</command> yet and try
    65 to run its predecessor <command>lex</command>. To support those programs,
    66 create a wrapper script named <filename>lex</filename> that calls
    67 <command>flex</command> in <emphasis>lex</emphasis> emulation mode:</para>
     65<para>A few programs do not know about <command>flex</command> yet and
     66try to run its predecessor, <command>lex</command>. To support those
     67programs, create a wrapper script named <filename>lex</filename> that
     68calls <filename>flex</filename> in lex emulation mode:</para>
    6869
    6970<screen><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"</userinput>
     
    9596<listitem>
    9697<indexterm zone="ch-system-flex flex"><primary sortas="b-flex">flex</primary></indexterm>
    97 <para>is a tool for generating programs that
    98 recognize patterns in text. Pattern recognition is useful in many applications.
    99 From a set of rules on what to look for, <command>flex</command> makes a program that looks for
    100 those patterns. The reason to use <command>flex</command> is that it is much easier to specify
    101 the rules for a pattern-finding program than to write the program.</para>
     98<para>a tool for generating programs that recognize patterns in text.
     99Pattern recognition is useful in many applications.
     100<application>Flex</application> makes a program that looks for those
     101patterns from a set of established rules.
     102<application>Flex</application> allows for the versatility to specify
     103the rules for a pattern-finding, eradicating the need to develop a
     104specialized program.</para>
    102105</listitem>
    103106</varlistentry>
     
    115118<listitem>
    116119<indexterm zone="ch-system-flex libfl.a"><primary sortas="c-libfl.a">libfl.a</primary></indexterm>
    117 <para>is the flex library.</para>
     120<para>the flex library.</para>
    118121</listitem>
    119122</varlistentry>
     
    123126
    124127</sect1>
     128
Note: See TracChangeset for help on using the changeset viewer.