aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/grep.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/grep.xml')
-rw-r--r--chapter06/grep.xml15
1 files changed, 8 insertions, 7 deletions
diff --git a/chapter06/grep.xml b/chapter06/grep.xml
index 30e47b51a..81c28d476 100644
--- a/chapter06/grep.xml
+++ b/chapter06/grep.xml
@@ -43,27 +43,28 @@
<para>The current Grep package has many bugs, especially in the support of
multibyte locales. RedHat fixed some of them with the following patch:</para>
-<screen><userinput>patch -Np1 -i ../&grep-fixes-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&grep-fixes-patch;</userinput></screen>
<para>In order for the tests added by this patch to pass, the permissions for
the test file have to be changed:</para>
-<screen><userinput>chmod +x tests/fmbtest.sh</userinput></screen>
+<screen><userinput remap="pre">chmod +x tests/fmbtest.sh</userinput></screen>
<para>Prepare Grep for compilation:</para>
-<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin</userinput></screen>
- <para>Compile the package:</para>
+ <para remap="make">Compile the package:</para>
<screen><userinput>make</userinput></screen>
- <para>To test the results, issue:
- <userinput>make check</userinput>.</para>
+ <para>To test the results, issue:</para>
+
+<screen><userinput remap="test">make check</userinput></screen>
<para>Install the package:</para>
-<screen><userinput>make install</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
</sect2>