view ja/examples/mq.dodiff @ 290:b0db5adf11c1 ja_root

fork Japanese translation.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 06 Feb 2008 17:43:11 +0900
parents en/examples/mq.dodiff@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