iso/doc/handbook/get_wiki_release_notes

21 lines
487 B
Plaintext
Raw Normal View History

#!/bin/bash
# Quick hack to generate handbook.txt from pmwiki
# Johannes Winkelmann, jw at tks6 dot net
INFILE=releasenotes.in
OUTFILE=releasenotes.txt
CRUX_VERSION=2.8
2011-11-16 13:01:04 +01:00
URL="http://crux.nu/Main/ReleaseNotes${CRUX_VERSION//\./-}?action=print"
set -x
links -no-numbering -no-references -dump $URL > $INFILE
cat $INFILE|while read n; do
if [ -n "$intext" ]; then
cat
2011-11-16 13:01:04 +01:00
elif [ "$n" = "Main: ReleaseNotes${CRUX_VERSION//\./-}" ]; then
intext="yes";
fi
done > $OUTFILE
rm $INFILE