repo.or.cz
/
rarfile.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reposition DirectReader before each read
[rarfile.git]
/
doc
/
note.awk
blob
285bdd749ce58d0510c8779d043bd5219f1b6e69
1
# extract version notes for version VER
2
3
/
^
[-
_0
-
9
a
-
zA
-
Z
]+
v?
[
0
-
9
]/ {
4
if
(
$
2
== VER
) {
5
good =
1
6
next
7
}
else
{
8
good =
0
9
}
10
}
11
12
/
^
(
===
|---)/ {
next
}
13
14
{
15
if
(
good
) {
16
# also remove sphinx syntax
17
print
gensub
(/:(
\w
+):
`~?
([
^`
]+)
`
/,
"``
\\
2``"
,
"g"
)
18
}
19
}
20