#!/bin/csh -f # # Author: Ram Samudrala (me@ram.org) # # Usage: Copy this file to your directory. Call it "get_tabs" (without # the quotes). Execute this command: "chmod +x get_tabs". # Typing in "get_tabs" at the prompt should fetch all the tabs # on this site at once. It should be possible to modify this # and use it as a .bat file for MS-DOS if you have Lynx # installed. # set root = "http://www.ram.org/music/primus/tabs" # first get the main tabs page: lynx -source $root/primus_tabs.html > primus_tabs.html foreach x (`grep '
  • ' primus_tabs.html | grep tab | awk -F\" '{print $2}'`) echo "fetching $x..." lynx -source $root/$x > $x end #