aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/flex.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-06-21 14:35:58 +0800
committerXi Ruoyao <xry111@xry111.site>2023-06-21 14:35:58 +0800
commit0fe3bb04a7aea4fa162af5840026c672393354f7 (patch)
tree03540c996c7d125977bb74ddcaa5558c90f62ba9 /chapter08/flex.xml
parent89375e276b044c87c02ea8b244def909cde11a01 (diff)
Create man page symlinks for awk, cc, pkg-config, and lex
Diffstat (limited to 'chapter08/flex.xml')
-rw-r--r--chapter08/flex.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter08/flex.xml b/chapter08/flex.xml
index d05474f03..478637adc 100644
--- a/chapter08/flex.xml
+++ b/chapter08/flex.xml
@@ -73,9 +73,11 @@
try to run its predecessor, <command>lex</command>. To support those
programs, create a symbolic link named <filename>lex</filename> that
runs <filename>flex</filename> in <command>lex</command> emulation
- mode:</para>
+ mode, and also create the man page of <command>lex</command> as a
+ symlink:</para>
-<screen><userinput remap="install">ln -sv flex /usr/bin/lex</userinput></screen>
+<screen><userinput remap="install">ln -sv flex /usr/bin/lex
+ln -sv flex.1 /usr/share/man/man1/lex.1</userinput></screen>
</sect2>