aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/flex.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/flex.xml')
-rw-r--r--chapter06/flex.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index 24be45365..e69ad90bf 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -51,14 +51,14 @@
<para>Create a lex script:</para>
-<screen><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"</userinput>
-#!/bin/sh
+<screen><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
+<literal>#!/bin/sh
# Begin /usr/bin/lex
exec /usr/bin/flex -l "$@"
-# End /usr/bin/lex
-<userinput>EOF
+# End /usr/bin/lex</literal>
+EOF
chmod 755 /usr/bin/lex</userinput></screen>
</sect2>