diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-03-12 22:34:38 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:46:19 -0500 |
commit | 9c72dd78f25be4a7ffa5af5a242670ec76930d6f (patch) | |
tree | 719cf9faacc847b400354a33bfdf5a2d2cee4ca7 /docs/xslt/upgrade.pl | |
parent | 50834aa64b51b039724b34eb491013c4323946ff (diff) | |
download | samba-9c72dd78f25be4a7ffa5af5a242670ec76930d6f.tar.gz samba-9c72dd78f25be4a7ffa5af5a242670ec76930d6f.tar.bz2 samba-9c72dd78f25be4a7ffa5af5a242670ec76930d6f.zip |
Use new definition of <smbconfoption>, fixes a bunch of
validity errors.
(This used to be commit 3eb5c35e47951f320f7c2f4cd478a95f6d48236e)
Diffstat (limited to 'docs/xslt/upgrade.pl')
-rw-r--r-- | docs/xslt/upgrade.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/xslt/upgrade.pl b/docs/xslt/upgrade.pl new file mode 100644 index 0000000000..8f0a82f0e7 --- /dev/null +++ b/docs/xslt/upgrade.pl @@ -0,0 +1,10 @@ +#!/usr/bin/perl +# Update documents to the Samba DTD V1.0 + +undef $/; + +while(<>) { + s/<smbconfoption><name>(.*?)<\/name><value>(.*?)<\/value><\/smbconfoption>/<smbconfoption name=\"\1\">\2<\/smbconfoption>/g; + s/<smbconfoption><name>(.*?)<\/name><\/smbconfoption>/<smbconfoption name=\"\1\"\/>/g; + print $_; +} |