- Timestamp:
- May 29, 2017, 1:54:01 PM (8 years ago)
- Branches:
- master, systemd
- Children:
- b1a2d5e
- Parents:
- 4a0e13c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/flex.xml
r4a0e13c r988dedf 51 51 <para os="h">A few programs do not know about <command>flex</command> yet and 52 52 try to run its predecessor, <command>lex</command>. To support those 53 programs, create a wrapper scriptnamed <filename>lex</filename> that54 calls <filename>flex</filename> in <command>lex</command> emulation53 programs, create a symbolic link named <filename>lex</filename> that 54 runs <filename>flex</filename> in <command>lex</command> emulation 55 55 mode:</para> 56 56 57 <screen os="i"><userinput>cat > /usr/bin/lex << "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> 66 58 67 59 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.