view en/examples/mq.diff @ 19:187702df428b

Piles of new content for MQ chapter - cookbook stuff.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 07 Jul 2006 19:56:53 -0700
parents
children 5cee64874312
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