parse-wormedit: support older wormedit versions
authorMischa Poslawsky <wormy@shiar.org>
Wed, 25 Feb 2009 10:35:02 +0000 (11:35 +0100)
committerMischa Poslawsky <wormy@shiar.org>
Mon, 2 Mar 2009 21:42:35 +0000 (22:42 +0100)
commit7e3af99422406dfbf962f92927e77b6907e3f757
tree09224db5f9b048070fa0a3760947c0ead1cf0cf8
parentc1c7a10ad684086c18f7db5456143212a40146e7
parse-wormedit: support older wormedit versions

Detect earlier version 95, 94, and 93 headers (or by --version
override), and parse data accordingly (each former format is mostly
a subset; hide output if it's not present yet).

For version 95 there was also an intermediate file in history, which
has been rewritten to specify (sub)version 94 in order to be able to
detect it automatically.

Uses Perl v5.10 features for slightly nicer code (wasn't necessary,
but compatibility is unlikely to be an issue (who else is gonna run
this code anyway?)).
parse-wormedit