view en/examples/mq.dodiff @ 288:cac3ac4536e5

Better wording, again per Jim Blandy.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 18 Jan 2008 12:01:46 -0800
parents f2061ece8ed9
children
line wrap: on
line source

#!/bin/bash

#$ name: diff

echo 'this is my original thought' > oldfile
echo 'i have changed my mind' > newfile

diff -u oldfile newfile > tiny.patch

cat tiny.patch

patch < tiny.patch

cat oldfile