diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/en/examples/mq.dodiff	Sun Jul 23 23:38:18 2006 -0700
@@ -0,0 +1,14 @@
+#!/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