Changeset 6f34f43 for chapter06/flex.xml


Ignore:
Timestamp:
04/11/2014 11:57:08 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
61ce0b1
Parents:
5bbc896
Message:

Merge latest lfs svn work into systemd branch. Better to be safe than sorry.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/flex.xml

    r5bbc896 r6f34f43  
    7171    <para>A few programs do not know about <command>flex</command> yet and
    7272    try to run its predecessor, <command>lex</command>. To support those
    73     programs, create a wrapper script named <filename>lex</filename> that
    74     calls <filename>flex</filename> in <command>lex</command> emulation
     73    programs, create a symbolic link named <filename>lex</filename> that
     74    runs <filename>flex</filename> in <command>lex</command> emulation
    7575    mode:</para>
    7676
    77 <screen><userinput remap="install">cat &gt; /usr/bin/lex &lt;&lt; "EOF"
    78 <literal>#!/bin/sh
    79 # Begin /usr/bin/lex
    80 
    81 exec /usr/bin/flex -l "$@"
    82 
    83 # End /usr/bin/lex</literal>
    84 EOF
    85 chmod -v 755 /usr/bin/lex</userinput></screen>
     77<screen><userinput remap="install">ln -s flex /usr/bin/lex</userinput></screen>
    8678
    8779  </sect2>
     
    9688
    9789      <seglistitem>
    98         <seg>flex, flex++ (link to flex), and lex</seg>
     90        <seg>flex, flex++ (link to flex), and lex (link to flex)</seg>
    9991        <seg>libfl.{a,so} and libfl_pic.{a,so}</seg>
    10092        <seg>/usr/share/doc/flex-&flex-version;</seg>
Note: See TracChangeset for help on using the changeset viewer.