diff --git a/rc/bin/ups b/rc/bin/ups index e1ad56ca6..6d1223d4b 100755 --- a/rc/bin/ups +++ b/rc/bin/ups @@ -8,25 +8,9 @@ if(! ~ $#* 1) { } hget 'http://wwwapps.ups.com/WebTracking/processInputRequest?tracknum='^$1^ \ - '&TypeOfInquiryNumber=T' >/tmp/ups.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' -sed 's/<[Tt][Dd]>/& «TD»/g; s/<[Tt][Rr]>/&