hgbook

view es/examples/mq.dodiff @ 358:15a6b61335aa

translated a couple of paragraphs, and updated the table of works in progress
author Javier Rojas <jerojasro@devnull.li>
date Thu Oct 23 23:18:59 2008 -0500 (2008-10-23)
parents
children
line source
1 #!/bin/bash
3 #$ name: diff
5 echo 'this is my original thought' > oldfile
6 echo 'i have changed my mind' > newfile
8 diff -u oldfile newfile > tiny.patch
10 cat tiny.patch
12 patch < tiny.patch
14 cat oldfile