view es/examples/mq.dodiff @ 538:955f5218f63e

Reserving chapters to translate on weekend
author Igor TAmara <igor@tamarapatino.org>
date Sat, 06 Dec 2008 00:16:59 -0500
parents 04c08ad7e92e
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