diff options
-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} - |