Commits

Bryan O'Sullivan committed dd657c4

Rename mq.diff to mq.dodiff Emacs won't screw up the syntax highlighting.

  • Participants
  • Parent commits 6b7b033

Comments (0)

Files changed (4)

 	examples/hook.simple \
 	examples/hook.ws \
 	examples/mq.qinit-help \
-	examples/mq.diff \
+	examples/mq.dodiff \
 	examples/mq.tarball \
 	examples/mq.tools \
 	examples/mq.tutorial
 
 clean:
 	rm -rf beta html pdf *.eps *.pdf *.png *.aux *.dvi *.log *.out \
-		examples/*.out examples/.run build_id.tex
+		examples/*.{out,run} examples/.run build_id.tex

en/examples/mq.diff

-#$ name: diff
-
-echo 'this is my first line' > oldfile
-echo 'my first line is here' > newfile
-
-diff -u oldfile newfile > tiny.patch
-
-cat tiny.patch
-
-patch < tiny.patch
-
-cat newfile

en/examples/mq.dodiff

+#!/bin/bash
+
+#$ name: diff
+
+echo 'this is my first line' > oldfile
+echo 'my first line is here' > newfile
+
+diff -u oldfile newfile > tiny.patch
+
+cat tiny.patch
+
+patch < tiny.patch
+
+cat newfile
 these commands in action.
 
 \begin{figure}[ht]
-  \interaction{mq.diff.diff}
+  \interaction{mq.dodiff.diff}
   \caption{Simple uses of the \command{diff} and \command{patch} commands}
   \label{ex:mq:diff}
 \end{figure}