view en/examples/mq.diff @ 36:5cee64874312

Require examples to be executable, so it's easier to see them with "ls".
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 17 Jul 2006 00:00:12 -0700
parents 187702df428b
children
line wrap: on
line source

#$ 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