New Code!
Discount has been shoved up to version 1.3.2 with the addition of not a single line of new code, and not a single bugfix, but with changes to configure.inc
and configure.sh
to make it deal with the differently-functional version of tr
that’s found on the Solaris boxes that Joyent uses in their compute farm. Joyent is apparently a big Ruby shop, and some clients/developers/customers(?) there really really want to use Ryan Tomayko’s rdiscount shim layer, which doesn’t work either.
One of the staff at Joyent wrote me and asked if I could help fix the not-yet-functional rdiscount code, and I said sure because, even though I don’t know Ruby, I can certainly work on the C side of the fence to make sure that discount at least compiles.
And it didn’t, because /usr/xpg4/bin/tr
didn’t work with fancy character ranges like [a-z]
or [A-Z]
. So, after some choice commentary about how there are so many standards to choose from, I reworked configure.inc
to make some guesses about how tr
will work on any given system and pick the way that works best (or die trying.) And that’s enough to make it New Code!, particularly if you’re running on Solaris and would like to see a make
actually make something.
And, yes, I did this for free. If you’d like to pay me to maintain and feep discount, my mail address is up near the top of my weblog, but I’m perfectly happy to have my BSD-style license spread the attributiondamnit! love across the world all by itself.