Mercurial > hgbook
view en/examples/mq.dodiff @ 492:2c2c86824c61
began translation of the "behind the scenes" chapter
author | Javier Rojas <jerojasro@devnull.li> |
---|---|
date | Mon, 03 Nov 2008 21:00:32 -0500 |
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