aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/man.xml
diff options
context:
space:
mode:
authorZack Winkles <winkie@linuxfromscratch.org>2004-06-07 19:16:21 +0000
committerZack Winkles <winkie@linuxfromscratch.org>2004-06-07 19:16:21 +0000
commit2ec4b60f359413c6f0163b9e72108c24460573e7 (patch)
tree7f8fadd44d9a25a95ce26daf9748a7f0040715ae /chapter06/man.xml
parent9109cd46dd8cbe0798713282e4908aeb98910a41 (diff)
Normalized usage of sed throughout the book
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3762 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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>