command
module
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Sep 18, 2022
License: GPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
parcels
A tool and library to parse URLs.
If you say that fast enough, it sounds like parcels.
This is mainly intended for use in mail filters.
Usage
cat EMAIL | parcels
This will...
- re-prints
EMAIL
with URLs replaced by indices
- print a postscript of indexed URLs
cat EMAIL | parcels -n 0
This will...
- try to find the first URL in
EMAIL
and re-print just that URL
- 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.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.