view en/examples/mq.dodiff.diff.out @ 146:65f6f9d18fa1

Oops! I forgot that I need the undoctored output files in the book! Now they're named "*.lxo", instead of "*.out". Ugh.
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 06 Mar 2007 21:55:48 -0800
parents 006bbad1f190
children bdd271cf1ae1
line wrap: on
line source

$ \textbf{echo 'this is my first line' > oldfile}
$ \textbf{echo 'my first line is here' > newfile}
$ \textbf{diff -u oldfile newfile > tiny.patch}
$ \textbf{cat tiny.patch}


@@ -1 +1 @@
-this is my first line
+my first line is here
$ \textbf{patch < tiny.patch}
patching file oldfile
$ \textbf{cat newfile}
my first line is here