projects
/
rawdog
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2cfea1
)
Add a function to generate range title lists.
author
Adam Sampson
<ats@offog.org>
Thu, 11 Jul 2013 14:14:07 +0000
(14:14 +0000)
committer
Adam Sampson
<ats@offog.org>
Thu, 11 Jul 2013 14:14:07 +0000
(14:14 +0000)
test-rawdog
patch
|
blob
|
history
diff --git
a/test-rawdog
b/test-rawdog
index 972bd4acd60406fe50d1e8dc4979f21d955de608..2212bfe992edf8d3080bad6a66ba7ba9c26fcef0 100644
(file)
--- a/
test-rawdog
+++ b/
test-rawdog
@@
-338,12
+338,16
@@
make_n () {
make_range 1 "$@"
}
+range () {
+ seq -f "range-title-%.f-" $1 $2
+}
+
output_range () {
- contains $statedir/output.html $(
seq -f "range-title-%.f-"
$1 $2)
+ contains $statedir/output.html $(
range
$1 $2)
}
not_output_range () {
- not_contains $statedir/output.html $(
seq -f "range-title-%.f-"
$1 $2)
+ not_contains $statedir/output.html $(
range
$1 $2)
}
output_n () {