jimmy the saint
July 11th, 2010, 12:41 AM
I am compiling a list of items and their various attributes into a spreadsheet to be converted into a searchable webpage spreadsheet (using Trellis). I have a basic one up and running, but now I have hit a wall with how to simply finish adding the last bit of info and I was hoping i could get some advice on putting together a simple script to search for a list of items against a set of 4 html pages.
The situation: I have a list of 380 items. There are 4 webpages with a plethora of data about various other items, and what items are related to them. I need to know if each of the 380 items in my list show up at all on any of those 4 webpages.
My Thoughts so far: I can save the webpages as html and put together a script to search for each of the items in my list and append "yes" if they show up or "no" if they don't.
The problem is that I don't know how to write even the simplest of bash (or any other) scripts. Can someone point me in the right direction? I would imagine grep and cat would be sufficient. Am I right about that?
Any advice or tips to put me in the right direction would be appreciated. Thanks!
The situation: I have a list of 380 items. There are 4 webpages with a plethora of data about various other items, and what items are related to them. I need to know if each of the 380 items in my list show up at all on any of those 4 webpages.
My Thoughts so far: I can save the webpages as html and put together a script to search for each of the items in my list and append "yes" if they show up or "no" if they don't.
The problem is that I don't know how to write even the simplest of bash (or any other) scripts. Can someone point me in the right direction? I would imagine grep and cat would be sufficient. Am I right about that?
Any advice or tips to put me in the right direction would be appreciated. Thanks!