Show More
@@ -62,8 +62,8 b" could use the 'sort' and 'head' utilitie" | |||
|
62 | 62 | in a text file by ensuring that 'sort' runs before 'head':: |
|
63 | 63 | |
|
64 | 64 | [fix] |
|
65 |
sort:command = sort - |
|
|
66 |
head:command = head - |
|
|
65 | sort:command = sort -n | |
|
66 | head:command = head -n 10 | |
|
67 | 67 | sort:pattern = numbers.txt |
|
68 | 68 | head:pattern = numbers.txt |
|
69 | 69 | sort:priority = 2 |
@@ -173,8 +173,8 b' Help text for fix.' | |||
|
173 | 173 | in a text file by ensuring that 'sort' runs before 'head': |
|
174 | 174 | |
|
175 | 175 | [fix] |
|
176 |
sort:command = sort |
|
|
177 |
head:command = head - |
|
|
176 | sort:command = sort -n | |
|
177 | head:command = head -n 10 | |
|
178 | 178 | sort:pattern = numbers.txt |
|
179 | 179 | head:pattern = numbers.txt |
|
180 | 180 | sort:priority = 2 |
@@ -1159,10 +1159,10 b' 5 numbers in the file.' | |||
|
1159 | 1159 | |
|
1160 | 1160 | $ cat >> .hg/hgrc <<EOF |
|
1161 | 1161 | > [fix] |
|
1162 |
> head:command = head - |
|
|
1162 | > head:command = head -n 5 | |
|
1163 | 1163 | > head:pattern = numbers.txt |
|
1164 | 1164 | > head:priority = 1 |
|
1165 |
> sort:command = sort |
|
|
1165 | > sort:command = sort -n | |
|
1166 | 1166 | > sort:pattern = numbers.txt |
|
1167 | 1167 | > sort:priority = 2 |
|
1168 | 1168 | > EOF |
General Comments 0
You need to be logged in to leave comments.
Login now