Re: Extract URL's from message
0n Wed, May 09, 2007 at 07:38:39PM -0400, Trey Sizemore wrote:
>I remember a while back I had a setup with mutt that allowed me to
>extract all URL's from a message and display them (numbered) in a
>separate window. I could then choose a URL to open by selecting its
>number and it would open in my browser of choice.
>
>I've been googling to find the proper 'recipe' for my .muttrc. Anyone
>have what I'm talking about?
"urlview is a screen oriented program for extracting URLs from
text files and displaying a menu from which you may launch a
command to view a specific item.
urlview uses a regular expression to extract URLs from the
specified text files."
$HOME/.mutt/keybindings
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
-aW
IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT
1914. If you have received this email in error, you are requested to contact
the sender and delete the email.