~dricottone/parcels

ref: f0c1b1cf25d9761fd02882bfd27a83a4f389b8ca parcels/README.md -rw-r--r-- 969 bytes
f0c1b1cfDominic Ricottone Release 1.1 2 years ago

#parcel

A tool to parse URLs. If you say that fast enough, it sounds like parcels.

#Usage

cat EMAIL | parcel

This will...

  1. re-prints EMAIL with URLs replaced by indices
  2. print a postscript of indexed URLs

cat EMAIL | parcel -n 0

This will...

  1. try to find the first URL in EMAIL and re-print just that URL
  2. otherwise print nothing

#License

The URL regular expression is adapted from that used in urlscan, which is licensed under GPL v2. Credit for this portion of the code should go to:

I personally consider this project to be derivative, therefore I am keeping the GPL v2 license of the urlscan project.