~dricottone/parcels

ref: cb9c50dd8ef66288ae2f3ef36e361ad9a7b62a03 parcels/README.md -rw-r--r-- 969 bytes
cb9c50ddDominic Ricottone Initial commit 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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](https://github.com/firecat53/urlscan), which is licensed under GPL v2.
Credit for this portion of the code should go to:

 + Scott Hansen \<[firecat4153@gmail.com](mailto:firecat4153@gmail.com)\>
   (Author and Maintainer)
 + Maxime Chatelle \<[xakz@rxsoft.eu](mailto:xakz@rxsoft.eu)\>
   (Debian Maintainer)
 + Daniel Burrows \<[dburrows@debian.org](mailto:dburrows@debian.org)\>
   (Original Author)

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