summaryrefslogtreecommitdiff
path: root/rc/bin/ups
diff options
context:
space:
mode:
Diffstat (limited to 'rc/bin/ups')
-rwxr-xr-xrc/bin/ups15
1 files changed, 0 insertions, 15 deletions
diff --git a/rc/bin/ups b/rc/bin/ups
deleted file mode 100755
index 025634822..000000000
--- a/rc/bin/ups
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/rc
-# ups - look up a UPS tracking number
-rfork en
-
-if(! ~ $#* 1) {
- echo usage: ups 1ZA41W190338680961 >[1=2]
- exit usage
-}
-
-hget 'http://wwwapps.ups.com/WebTracking/processInputRequest?tracknum='^$1^ \
- '&TypeOfInquiryNumber=T' |
- htmlfmt |
- awk '/^Share/,/^Subscribe/ {print;}' |
- grep -v '^(Share|Change Delivery|Request Status Updates|Never track again|Continue|I am already a UPS My Choice Member|• What|Subscribe to UPS)' |
- ssam 's/\n\n\n/\n/g'