Yes! Comments! They're working....! You all probably could care less (though I'm guessing some of you Republican folks will be taking a jab at a certain post below), but I have been going crazy making the Reblogger perl scripts work.
The trick is that Mac, Windows and Unix/Linux use different settings to mark line endings in text files. The Reblogger tar.gz package that's indicated for Mac OS X (my host runs Mac OS X server) has scripts that have been processed by a Windows 'cleaner' product, so there's some wierdness when the script runs on OS X.
Solution, according to Reblogger author Jesse Malone, is to use the scripts from the Linux/Unix package. But that tar.gz fails to unpack properly in Stuffit (which is the common Mac OS X de-compression utility). So I dl'd everything on my Linux box, and then moved it up from my Mac OS X machine after a NFS transfer. But somehow, that screwed up the reblogger.pl script, which just wouldn't run, despite best efforts in BBEdit and Affrus, a Perl script Editor for OS X.
Anyway, perl scripts have to have Unix line endings to run on Mac OS X it turns out (thanks, Affrus). So I did a command-line SFTP straight from the Linux box, and then fixed all the file permissions by hand. And, voila!
Comments
6:16:43 PM
|
|