aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/gawk.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-09-15 18:22:44 +0800
committerXi Ruoyao <xry111@xry111.site>2022-09-17 20:34:13 +0800
commit46b05a0832adca10a2afe5474642ad38521cf0d5 (patch)
tree2242395783018594acaf68ec8ff8bd1a1cb4a6c2 /chapter08/gawk.xml
parentea94a21b79b9615b78baac12da02cefb025a784d (diff)
gawk: remove duplicated "-i" in a sed command
Diffstat (limited to 'chapter08/gawk.xml')
-rw-r--r--chapter08/gawk.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter08/gawk.xml b/chapter08/gawk.xml
index 244d7004f..9979e32de 100644
--- a/chapter08/gawk.xml
+++ b/chapter08/gawk.xml
@@ -46,7 +46,7 @@
<para>Now fix a programming error identified upstream:</para>
-<screen><userinput remap="pre">sed -i -i '241i UPREF(m);' interpret.h</userinput></screen>
+<screen><userinput remap="pre">sed -i '241i UPREF(m);' interpret.h</userinput></screen>
<para>Prepare Gawk for compilation:</para>