summaryrefslogtreecommitdiff
path: root/update-faq
blob: 6f83f5aea8693a9a6b57c26b6cd14de03c2de104 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# Contains a workaround for the libxslt bug 377440
#   http://bugzilla.gnome.org/show_bug.cgi?id=377440

wget -q -O - http://www.mpfr.org/faq.html | xsltproc --nodtdattr faq.xsl - | \
  perl -pe 's,(<(h:)?style.*),<style type="text/css">/*<![CDATA[*/,;
            s,(</(h:)?style>),/*]]>*/</style>,' > FAQ.html