view es/examples/mq.dodiff @ 499:f89ee6f63ea2

Archivo to Fichero and update Leame.1st
author Igor TAmara <igor@tamarapatino.org>
date Thu, 06 Nov 2008 23:09:47 -0500
parents 04c08ad7e92e
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