comparison en/examples/mq.dodiff @ 46:dd657c4d3a47

Rename mq.diff to mq.dodiff Emacs won't screw up the syntax highlighting.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 23 Jul 2006 23:38:18 -0700
parents en/examples/mq.diff@5cee64874312
children f2061ece8ed9
comparison
equal deleted inserted replaced
45:6b7b0339e7d6 46:dd657c4d3a47
1 #!/bin/bash
2
3 #$ name: diff
4
5 echo 'this is my first line' > oldfile
6 echo 'my first line is here' > newfile
7
8 diff -u oldfile newfile > tiny.patch
9
10 cat tiny.patch
11
12 patch < tiny.patch
13
14 cat newfile