Yes, had already installed the command-line tools.
Re loximuthal's script and Automator, I clearly am missing one or more steps. Not being a tech, I need complete start to finish instructions. Getting a script alone to copy/paste doesn't help, given I don't know what I should be selecting after I've started up Automator.
I chose Application, then Run Shell Script, hoping I'd chosen correctly. Then once I saw the empty field open up, I pasted loximuthal's code into it. Looking at the image provided by loxi, I noted beside 'Shell:' the selection '/bin/csh', and beside 'Pass Input:' the selection 'as arguments'. So I selected those also.
But what am I supposed to do after that? And did I take the correct steps so far?
Since nothing else was obvious to me, I saved the file as an Application and named it Calibre Editor. But when I clicked the app in my Applications folder to start it, I got an error message.
Clearly, I've done something wrong... OR I've misunderstood what this script is supposed to do and/or how it's to be activated... OR OS X Lion requires something different… OR...

'tis embarrassing to be so inept (though for my age cohort, I'm far ahead of the pack).