hgbook

diff ja/examples/mq.dodiff @ 986:c075fb0481c0

2 spell mistakes corrected in fr/appC-srcinstall.xml
author Frédéric Bouquet <youshe.jaalon@gmail.com>
date Wed Sep 09 15:25:09 2009 +0200 (2009-09-09)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ja/examples/mq.dodiff	Wed Sep 09 15:25:09 2009 +0200
     1.3 @@ -0,0 +1,14 @@
     1.4 +#!/bin/bash
     1.5 +
     1.6 +#$ name: diff
     1.7 +
     1.8 +echo 'this is my first line' > oldfile
     1.9 +echo 'my first line is here' > newfile
    1.10 +
    1.11 +diff -u oldfile newfile > tiny.patch
    1.12 +
    1.13 +cat tiny.patch
    1.14 +
    1.15 +patch < tiny.patch
    1.16 +
    1.17 +cat oldfile