view en/examples/mq.dodiff @ 768:a79fb712fe20

Set hyphenate.verbatim=0
author Dongsheng Song <songdongsheng@live.cn>
date Tue, 07 Apr 2009 11:04:18 +0800
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