SYNOPSIS
shorlfilter [options] [file ...]
Options:
--help brief help message
--man full man page
-v, --version print version information and exit
-l N, --length=N minimum length of URL in characters to shorlify, default 45
-r N, --retry=N number of times to retry shorl query before failing
DESCRIPTION
Shorlfilter takes piped input or a filename from the command line and returns the same file with any long URLs turned into shorls.See http://shorl.com for more information on shorls.
If shorlfilter is unable to get a replacement short URL from shorl.com, the long URL will be left unchanged in the output of the filter.
EXAMPLES
Convert all URLs longer than 60 characters to shorls in file_with_long_urls, save results in file_with_short_urls:cat file_with_long_urls | shorlfilter -n 60 > file_with_short_urls
Add the following to your .muttrc to have all outgoing messages in the mutt mail user agent be shorlified:
macro compose y <filter-entry>'shorlfilter'\ry<send-message>'
Add the following to your .vimrc to have map F5 to filter the currently open document through shorlfilter:
noremap <F5> :%!shorlfilter<CR>