# # KEHOME/bin/amazon # Nov/10/2005 # search Amazon.com category # usage: amazon category . systype.env case "$systype" in Linux) iexplore="/pf/Internet Explorer/iexplore.exe";; Mac) iexplore="/pf/Internet Explorer/iexplore.exe";; Cygwin) iexplore="/pf/Internet Explorer/iexplore.exe";; Interix)iexplore="/pf/Internet Explorer/iexplore.exe";; WinXP) iexplore="C:/Program Files/Internet Explorer/iexplore.exe";; Win98) iexplore="E:/Program Files/Internet Explorer/iexplore.exe";; Windows)iexplore="C:/WINDOWS/iexplore.exe";; *) iexplore="help" esac browse="http://www.amazon.com/exec/obidos/tg/browse/-" search="$KEHOME/bin/Amazon.url" # books case "$1" in AmazonShorts) amazonMap="13993911";; ApparelAccessories) amazonMap="1036592";; AudioVideo) amazonMap="1065836";; Automotive) amazonMap="553294";; Baby) amazonMap="540744";; Beauty) amazonMap="3760911";; BedBath) amazonMap="1057792";; Books) amazonMap="283155";; CameraPhoto) amazonMap="502394";; CellPhonesService) amazonMap="301185";; Computers) amazonMap="541966";; ComputerVideoGames) amazonMap="468642";; DVD) amazonMap="130";; Electronics) amazonMap="172282";; FurnitureDecor) amazonMap="1057794";; GourmetFood) amazonMap="3370831";; HealthPersonalCare) amazonMap="3760901";; HomeGarden) amazonMap="1055398";; JewelryWatches) amazonMap="3367581";; KitchenHousewares) amazonMap="284507";; MagazinesNewspapers) amazonMap="599858";; Music) amazonMap="5174";; MusicalInstruments) amazonMap="11091801";; OfficeProducts) amazonMap="1064954";; OutdoorLiving) amazonMap="286168";; PetSupplies) amazonMap="12923371";; Shoes) amazonMap="1040668";; Software) amazonMap="229534";; SportsOutdoors) amazonMap="3375251";; ToolsHardware) amazonMap="228013";; ToysGames) amazonMap="171280";; VHS) amazonMap="404272";; search) "$iexplore" "$search"; exit;; *help) amazonMap="index";; *) amazonMap="index";; esac "$iexplore" "$browse/$amazonMap" #