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