- Timestamp:
- May 29, 2017, 1:54:03 PM (8 years ago)
- Branches:
- sysvinit
- Children:
- 110500e
- Parents:
- e1be9a61
- git-author:
- William Harrington <kb0iic@…> (05/29/17 13:54:01)
- git-committer:
- William Harrington <kb0iic@…> (05/29/17 13:54:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/flex.xml
re1be9a61 r966dad90 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.