9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Nick Owens <mischief@9.offblast.org>
To: 9front@9front.org
Subject: /rc/bin/usps junk
Date: Tue, 15 Oct 2013 06:56:55 -0700	[thread overview]
Message-ID: <20131015135655.GM24764@iota.offblast.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

since the usps website changed, /rc/bin/usps is no longer filtering the
junk.

try the below patch on: usps 9405509699937977420329

also, fedex script outputs blanks.

diff -r c41480ba2a66 rc/bin/usps
--- a/rc/bin/usps Thu Oct 10 07:42:13 2013 +0200
+++ b/rc/bin/usps Tue Oct 15 12:08:19 2013 -0700
@@ -13,9 +13,8 @@
  uhtml | htmlfmt > /tmp/usps.$pid
 
 sam -d /tmp/usps.$pid >[2] /dev/null <<'!'
-,/Your Label Number/-1d
-/Check on Another Item/,$d
-/id=\"error-tLabels\"/,$d
+,/Tracking Number/-1d
+/Available Options/,$d
 ,p
 !
 rm /tmp/usps.$pid


[-- Attachment #2: Type: application/pgp-signature, Size: 834 bytes --]

             reply	other threads:[~2013-10-15 13:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15 13:56 Nick Owens [this message]
2013-10-15 16:33 ` [9front] " cinap_lenrek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131015135655.GM24764@iota.offblast.org \
    --to=mischief@9.offblast.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).