summaryrefslogtreecommitdiff
path: root/sys/src/cmd/test/patch/header.patch
blob: b8ac887aa60878727076b75efcc0757cf3aa5c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
diff should handle headers just fine, so
this file contains a few lines of header
and footer, with a couple of false starts,
consisting of lines starting with
--- some words
but no immediately following 
+++ words
lines

--- header.in
+++ header.out
@@ -1,3 +1,5 @@
+1
+2
 3
 4
 5
@@ -10,8 +12,8 @@
 12
 13
 14
-13
-12
+15
+16
 17
 18
 19
@@ -35,6 +37,8 @@
 37
 38
 39
+40
+41
 42
 43
 44
@@ -80,6 +84,7 @@
 84
 85
 86
+87
 88
 89
 90
@@ -91,3 +96,5 @@
 96
 97
 98
+99
+100
-- signature footer: should not get picked up
and here is the footer that should
also be ignored.