bos@19: #$ name: diff bos@19: bos@19: echo 'this is my first line' > oldfile bos@19: echo 'my first line is here' > newfile bos@19: bos@19: diff -u oldfile newfile > tiny.patch bos@19: bos@19: cat tiny.patch bos@19: bos@19: patch < tiny.patch bos@19: bos@19: cat newfile