Dave, I heard that your book Wicked Cool Shell Scripts won some sort of award or the other? Do tell, what’s the story with that?
Dave, I heard that your book Wicked Cool Shell Scripts won some sort of award or the other? Do tell, what’s the story with that?
Dave, I’m in a bit of a pickle. Like you, I’m an author, and as I wrap up my latest book project, the development editor sent me a note saying that all the figures I’ve submitted, all 217 of them, are incorrectly named and need to be fixed. Augh! The naming scheme I’m using is FIGxxyy.TIF where xx is the chapter number and yy is the figure number. To make it a bit more complex, sometimes I use a three digit figure number and other times I use a two digit value. I need all the files to be called xxFIGyyy.TIF. How do I do that without going crazy?
I’ve been slowly adding all the nifty features to my new Web site and am going a bit crazy with Safari. I changed my favicon.ico favorites icon for my Web site, but Safari insists that it’s not right, though when I view the site in Firefox, Camino or any other browser it’s fine. How do I get Safari to be happy?
Alright, this is pretty geeky, but is there a way I can grab all my Mac OS X Safari bookmarks using a shell script so I can manipulate the data? I’ve peeked into the bookmarks file and yow, it’s one hairy data file!
Dave, I have a pile of addresses in my Palm Desktop address book on my Mac, but I’d really like to be able to use them from within some shell scripts, particularly to be able to build a quick reference of names and phone numbers. Is that even possible?
Dave, I purchased your Wicked Cool Shell Scripts book a month or so ago (great book), and have used it to “learn by example” in writing some shell scripts, as I’ve a long way to go in this area.
I need to rotate logs on an IBM AIX 5.1 Unix box, and tried using your script #55, rotatelogs for this but it didn’t work, as -maxdepth is not supported in AIX’s find command. So, I commented it out, and it worked, but also rotated everything in the subdirectories as well (no problem…backed up directory first, then restored). I am trying to get it to work using -prune which my search in Google found to be a good fix for the lack of maxdepth, but it’s not doing what I want. Help!
Dave, I ran across your sites and Wicked Cool Shell Scripts book while trying to convince myself that `sleep 0` is a valid and relatively portable command to use freely in my unix shell scripts.
I looked at a few of the Bourne shell scripts and they seem to use constructs like $( … ) and $(( … )) which are not standard Bourne shell (to my understanding). So I actually have three questions, rather than just one:
Dave, do you happen to have a script that will pull Amazon.com hourly
sales rank data for 1 – N ASINs and save into either a CSV file or a
database?