view en/examples/mq.dodiff @ 178:1b55292716a4

correct single typo in chpt 5 text
author Steve Guidon <steve.guidon@gmail.com>
date Thu, 29 Mar 2007 19:55:18 +0100
parents dd657c4d3a47
children f2061ece8ed9
line wrap: on
line source

#!/bin/bash

#$ name: diff

echo 'this is my first line' > oldfile
echo 'my first line is here' > newfile

diff -u oldfile newfile > tiny.patch

cat tiny.patch

patch < tiny.patch

cat newfile