I'm trying something new, I would normally do this in C# or VB. But for speed reason I'd like to do this on my server.
- Open File terms.txt
- Take each item one at a time from terms.txt and open a url (possibly curl or something else) and go to http://system.com/set=terms
- View the HTML source and extract pic names (stringB). Look for image=StringB&location
- Save StringB to imgname.txt
- Close file and cycle to the next item in terms.txt
I was looking at sed but I believe awk might be the best way? This is all new to me building a command like this to run under shell. I'm familiar with using linux just need help with the commands.