changeset 7243: | 34f64dcbbc25 |
parent: | 8d096d953942 |
author: | cinap_lenrek@felloff.net |
date: | Fri, 17 May 2019 18:14:10 +0200 |
permissions: | -rwxr-xr-x |
description: | 7l: don't hardcode 4k pagesize, use INITRND |
1 #!/bin/rc2 # ups - look up a UPS tracking number3 rfork en5 if(! ~ $#* 1) {6 echo usage: ups 1ZA41W190338680961 >[1=2]7 exit usage8 }10 hget 'http://wwwapps.ups.com/WebTracking/processInputRequest?tracknum='^$1^ \11 '&TypeOfInquiryNumber=T' |12 htmlfmt |13 awk '/^Share/,/^Subscribe/ {print;}' |14 grep -v '^(Share|Change Delivery|Request Status Updates|Never track again|Continue|I am already a UPS My Choice Member|• What|Subscribe to UPS)' |15 ssam 's/\n\n\n/\n/g'