aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/man.xml')
-rw-r--r--chapter06/man.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/man.xml b/chapter06/man.xml
index 552d07d21..54f7174a6 100644
--- a/chapter06/man.xml
+++ b/chapter06/man.xml
@@ -40,13 +40,13 @@ width instead of being limited to 80 characters:</para>
switch to the <emphasis>PAGER</emphasis> variable so that escape sequences are
properly handled by Less:</para>
-<screen><userinput>sed -i 's/-is/&amp;R/' configure</userinput></screen>
+<screen><userinput>sed -i 's@-is@&amp;R@g' configure</userinput></screen>
<para>The third is also a sed substitution to comment out the <quote>MANPATH
/usr/man</quote> line in the <filename>man.conf</filename> file to prevent
redundant results when using programs such as <command>whatis</command>:</para>
-<screen><userinput>sed -i 's%MANPATH./usr/man%#&amp;%' src/man.conf.in</userinput></screen>
+<screen><userinput>sed -i 's@MANPATH./usr/man@#&amp;@g' src/man.conf.in</userinput></screen>
<para>Now prepare Man for compilation:</para>