|
@@ -70,19 +70,11 @@
|
|
|
-->
|
|
|
<para>A few programs do not know about <command>flex</command> yet and
|
|
|
try to run its predecessor, <command>lex</command>. To support those
|
|
|
- programs, create a wrapper script named <filename>lex</filename> that
|
|
|
- calls <filename>flex</filename> in <command>lex</command> emulation
|
|
|
+ programs, create a symbolic link named <filename>lex</filename> that
|
|
|
+ runs <filename>flex</filename> in <command>lex</command> emulation
|
|
|
mode:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">cat > /usr/bin/lex << "EOF"
|
|
|
-<literal>#!/bin/sh
|
|
|
-# Begin /usr/bin/lex
|
|
|
-
|
|
|
-exec /usr/bin/flex -l "$@"
|
|
|
-
|
|
|
-# End /usr/bin/lex</literal>
|
|
|
-EOF
|
|
|
-chmod -v 755 /usr/bin/lex</userinput></screen>
|
|
|
+<screen><userinput remap="install">ln -s flex /usr/bin/lex</userinput></screen>
|
|
|
|
|
|
</sect2>
|
|
|
|
|
@@ -95,7 +87,7 @@ chmod -v 755 /usr/bin/lex</userinput></screen>
|
|
|
<segtitle>Installed directories</segtitle>
|
|
|
|
|
|
<seglistitem>
|
|
|
- <seg>flex, flex++ (link to flex), and lex</seg>
|
|
|
+ <seg>flex, flex++ (link to flex), and lex (link to flex)</seg>
|
|
|
<seg>libfl.{a,so} and libfl_pic.{a,so}</seg>
|
|
|
<seg>/usr/share/doc/flex-&flex-version;</seg>
|
|
|
</seglistitem>
|