view en/examples/mq.dodiff @ 670:3bcc001ce34f

Get rid of lots of TeX-era cruft.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 09 Mar 2009 23:37:19 -0700
parents cac3ac4536e5
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