Changeset 6f34f43 for chapter06/flex.xml
- Timestamp:
- 04/11/2014 11:57:08 PM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 61ce0b1
- Parents:
- 5bbc896
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/flex.xml
r5bbc896 r6f34f43 71 71 <para>A few programs do not know about <command>flex</command> yet and 72 72 try to run its predecessor, <command>lex</command>. To support those 73 programs, create a wrapper scriptnamed <filename>lex</filename> that74 calls <filename>flex</filename> in <command>lex</command> emulation73 programs, create a symbolic link named <filename>lex</filename> that 74 runs <filename>flex</filename> in <command>lex</command> emulation 75 75 mode:</para> 76 76 77 <screen><userinput remap="install">cat > /usr/bin/lex << "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> 86 78 87 79 </sect2> … … 96 88 97 89 <seglistitem> 98 <seg>flex, flex++ (link to flex), and lex </seg>90 <seg>flex, flex++ (link to flex), and lex (link to flex)</seg> 99 91 <seg>libfl.{a,so} and libfl_pic.{a,so}</seg> 100 92 <seg>/usr/share/doc/flex-&flex-version;</seg>
Note:
See TracChangeset
for help on using the changeset viewer.