view es/examples/mq.dodiff @ 783:b15bea650f30

started tour-basic.tex
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 03 Jun 2009 18:53:39 +0900
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