parcels

command module
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2022 License: GPL-2.0 Imports: 5 Imported by: 0

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...

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

cat EMAIL | parcels -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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL