Cross Reference: mkNEWS
xref
: /
inkscape
/
packaging
/
mkNEWS
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
mkNEWS revision 7e0337b0c91e10012bc41d0671b603ae73c89831
0
N/A
#!/
usr
/
bin
/
perl
0
N/A
0
N/A
use
strict
;
0
N/A
use
warnings
;
0
N/A
0
N/A
my
$wiki
=
"
http://wiki.inkscape.org/wiki/index.php
"
;
0
N/A
0
N/A
if
(@
ARGV
<
1
)
{
0
N/A
print
"Usage: $0 <release-number>\n"
;
0
N/A
}
0
N/A
0
N/A
my
$rel
=
shift
@
ARGV
;
0
N/A
0
N/A
$rel
=~ s/\.//;
0
N/A
0
N/A
my
@
page
=
`
lynx
-
dump
$wiki
?
title
=
ReleaseNotes
$rel
`
;
0
N/A
0
N/A
my
$seen_overview
=
0
;
0
N/A
foreach
my
$line
(@
page
)
{
0
N/A
last
if
$line
=~ /^
Previous
releases
/;
0
N/A
next
if
$line
=~ /\[\[\d+\]
edit
\]/;
0
N/A
0
N/A
if
(
$line
=~ /^
Inkscape
.*
0.45
/ ||
$line
=~ /^
Inkscape
.*
changes
with
respect
to
/)
{
0
N/A
$seen_overview
=
1
;
0
N/A
}
0
N/A
next
unless
$seen_overview
;
0
N/A
0
N/A
$line
=~ s/\[\d+\]
(\w)
/$
1
/g;
0
N/A
0
N/A
print
$line
;
0
N/A
}
0
N/A
0
N/A
print
"\nFor information on prior releases, please see:\n"
;
0
N/A
print
"
$wiki
/Inkscape\n"
;
0
N/A