Changeset 988dedf


Ignore:
Timestamp:
05/29/17 20:54:01 (16 months ago)
Author:
William Harrington <kb0iic@…>
Branches:
('master', 'a4a0c7f1cd78df350da9e28b1d8f496702356e0f')
Children:
b1a2d5e73f50bcd80bac5fe0abaf47080cc10a76
Parents:
4a0e13c7d34851d3866b9913489fa12ebcf2edaa
git-author:
William Harrington <kb0iic@berzerkula.org>2017-05-29 15:54:01-05:00
git-committer:
William Harrington <kb0iic@berzerkula.org>2017-05-29 15:54:01-05:00
Message:

Use a link instead of a wrapper script for lex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/flex.xml

    r7cd7f99 r988dedf  
    5151    <para os="h">A few programs do not know about <command>flex</command> yet and 
    5252    try to run its predecessor, <command>lex</command>. To support those 
    53     programs, create a wrapper script named <filename>lex</filename> that 
    54     calls <filename>flex</filename> in <command>lex</command> emulation 
     53    programs, create a symbolic link named <filename>lex</filename> that 
     54    runs <filename>flex</filename> in <command>lex</command> emulation 
    5555    mode:</para> 
    5656 
    57 <screen os="i"><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF" 
    58 <literal>#!/bin/sh 
    59 # Begin /usr/bin/lex 
    60  
    61 exec /usr/bin/flex -l "$@" 
    62  
    63 # End /usr/bin/lex</literal> 
    64 EOF 
    65 chmod -v 755 /usr/bin/lex</userinput></screen> 
     57<screen os="i"><userinput>ln -sv flex /usr/bin/lex</userinput></screen> 
    6658 
    6759  </sect2> 
Note: See TracChangeset for help on using the changeset viewer.