diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-11-27 23:11:49 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-11-27 23:11:49 -0500 |
commit | d563ca33bc010c8d4432aa228626a254d17309eb (patch) | |
tree | 4e476bfd614bf2308ab5ab367bc77b05cd60d035 | |
parent | ed4d8acb493dc972764485d67662e57121ef4f2f (diff) |
remove newegg
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | newegg.sh | 18 |
3 files changed, 0 insertions, 20 deletions
@@ -6,7 +6,6 @@ chardiff_post daemon hangman-helper maildups -newegg offlineimap-runner offlineimap-exit ord @@ -12,7 +12,6 @@ BINFILES = \ daemon \ hangman-helper \ maildups \ - newegg \ offlineimap-runner \ offlineimap-exit \ ord \ diff --git a/newegg.sh b/newegg.sh deleted file mode 100644 index 235000f..0000000 --- a/newegg.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -sed -n \ - -e 's/.*<a href="\(.*\)" title="View Details">/URL\t\1/p' \ - -e 's/.*<span class="itemDescription">\(.*\)<\/span>/Desc\t\1/p' \ - -e 's/.*<li class="priceFinal">\(.*\)<\/li>/Price\t\1/p' \ - -e 's/.*<li class="priceShip">\(.*\)Shipping<\/li>/Ship\t\1/p' | \ -sed \ - -e 's/<\/*[a-z]*>//g' \ - -e 's/(/(/g' \ - -e 's/)/)/g' \ - -e 's///\//g' \ - -e 's/Ship\tFree/Ship\t$0.00/' > newegg.$$.out -grep '^URL' newegg.$$.out | cut -f2 >newegg.$$.url -grep '^Desc' newegg.$$.out | cut -f2 >newegg.$$.desc -grep '^Price' newegg.$$.out | cut -f2 >newegg.$$.pri -grep '^Ship' newegg.$$.out | cut -f2 >newegg.$$.ship -paste newegg.$$.{url,desc,pri,ship} - |