summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-11-27 23:11:49 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-11-27 23:11:49 -0500
commitd563ca33bc010c8d4432aa228626a254d17309eb (patch)
tree4e476bfd614bf2308ab5ab367bc77b05cd60d035
parented4d8acb493dc972764485d67662e57121ef4f2f (diff)
remove newegg
-rw-r--r--.gitignore1
-rw-r--r--Makefile1
-rw-r--r--newegg.sh18
3 files changed, 0 insertions, 20 deletions
diff --git a/.gitignore b/.gitignore
index 72f6ec0..5854bc4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,7 +6,6 @@ chardiff_post
daemon
hangman-helper
maildups
-newegg
offlineimap-runner
offlineimap-exit
ord
diff --git a/Makefile b/Makefile
index b429e91..cf50e18 100644
--- a/Makefile
+++ b/Makefile
@@ -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/&#40;/(/g' \
- -e 's/&#41;/)/g' \
- -e 's/&#47;/\//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}
-