Changeset c5368d7


Ignore:
Timestamp:
04/08/2014 03:02:51 AM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
276b8ff
Parents:
ee648fd
Message:

Change lex wrappeer script to a symbolic link

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    ree648fd rc5368d7  
    4040      <itemizedlist>
    4141        <listitem>
     42          <para>[bdubbs] - Change lex rwapper script to a symbolic
     43          link. Completes
     44          <ulink url="&lfs-ticket-root;3523">#3523</ulink>.</para>
     45        </listitem>
     46        <listitem>
    4247          <para>[bdubbs] - Update to linux-3.14. Fixes
    4348          <ulink url="&lfs-ticket-root;3523">#3523</ulink>.</para>
     
    4853        </listitem>
    4954        <listitem>
    50           <para>[bdubbs] - Update to flex-2.5.39. Fixes
     55          <para>[bdubbs] - Update to flex-2.5.39. Addresses
    5156          <ulink url="&lfs-ticket-root;3527">#3527</ulink>.</para>
    5257        </listitem>
  • chapter06/flex.xml

    ree648fd rc5368d7  
    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.