These tools download and search the parts lists from MSY, a local Australian computer retailer with several stores that has reasonably good prices on many computer parts.

If you're not in Australia, this will be of no interest to you.

You'll need to change the MSYDIR variable near the top of these scripts, so that they know where to store and find the msy.txt parts list files.

Download all three script files and put them in your PATH somewhere.

msygrep will automatically call fetch-MSY.sh if the msy.txt parts list is missing or over 14 days old (use -n to tell it not to download a new file).

fetch-MSY.sh can download the various MSY .PDF files as well as download the MSY's PARTS_W.HTM and convert it to plain text.

fetch-MSY.sh uses my untable.pl script to convert the formatted table from links -dump into tab-separated output for easy parsing. This is a useful generic script that can "untable" the output from numerous programs (including mysql, and various openstack CLI tools), making the output more easily-usable by other scripts.

NOTE: fetch-MSY.sh used to use the snarf tool to download the files. It has now been modified to use wget.