Knowledgebase
Shell script (sed / wget) help needed.
Posted by acctman, 01-28-2011, 05:32 AM | I need help using sed to parse html codiing, this is what i'm trying to do...
1. wget to http://site.com/xap/wp7?p=1
2. view the html extract all the ProductName's from in between title="Free Shipping ProductName"> ... ex: title="Free Shipping HD7-Case001"> , HD7-Case001 is extracted.
3. processes up to page 50
|
Posted by Natcoweb, 01-28-2011, 10:32 AM | user@host:~$ echo 'title="Free Shipping HD7-Case001">' | sed s/.*Free\ Shipping\ //g | sed s/\"\>*//g
HD7-Case001
|
|
Add to Favourites
Print this Article |
Also Read