# HG changeset patch # User Bryan O'Sullivan # Date 1153723098 25200 # Node ID dd657c4d3a4720530cd5550265c8805970fe0b9d # Parent 6b7b0339e7d6baf2765fcbbab256e5633c0f1980 Rename mq.diff to mq.dodiff Emacs won't screw up the syntax highlighting. diff -r 6b7b0339e7d6 -r dd657c4d3a47 en/Makefile --- a/en/Makefile Sun Jul 23 23:34:24 2006 -0700 +++ b/en/Makefile Sun Jul 23 23:38:18 2006 -0700 @@ -21,7 +21,7 @@ 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 @@ -121,4 +121,4 @@ 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 diff -r 6b7b0339e7d6 -r dd657c4d3a47 en/examples/mq.diff --- a/en/examples/mq.diff Sun Jul 23 23:34:24 2006 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -#$ 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 diff -r 6b7b0339e7d6 -r dd657c4d3a47 en/examples/mq.dodiff --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/en/examples/mq.dodiff Sun Jul 23 23:38:18 2006 -0700 @@ -0,0 +1,14 @@ +#!/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 diff -r 6b7b0339e7d6 -r dd657c4d3a47 en/mq.tex --- a/en/mq.tex Sun Jul 23 23:34:24 2006 -0700 +++ b/en/mq.tex Sun Jul 23 23:38:18 2006 -0700 @@ -141,7 +141,7 @@ 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}