aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter06/bison.xml2
-rw-r--r--chapter06/gcc.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/bison.xml b/chapter06/bison.xml
index 3e208fe02..d0fa5620e 100644
--- a/chapter06/bison.xml
+++ b/chapter06/bison.xml
@@ -52,7 +52,7 @@
program is not already in $PATH. The following addition will correct
this.</para>
-<screen>echo '#define YYENABLE_NLS 1' >> config.h</screen>
+<screen><userinput>echo '#define YYENABLE_NLS 1' &gt;&gt; config.h</userinput></screen>
<para>Compile the package:</para>
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 1611b2c59..bc7f7e379 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -73,7 +73,7 @@
temporary files. We will be installing mktemp later, so the following sed
will simulate its presence.</para>
-<screen>sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in</screen>
+<screen><userinput>sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in</userinput></screen>
<para>The GCC documentation recommends building GCC outside of the source
directory in a dedicated build directory:</para>