


urlview(1)					     urlview(1)


NAME
       urlview - URL extractor/launcher


SYNOPSIS
       urlview <filename> [ <filename> ... ]


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


CONFIGURATION
       urlview	attempts  to read ~/_urlview upon startup.  There
       are two configuration commands (order does not matter):

       REGEXP <regular expression to use for URL matching>


       urlview uses a regular expression to extract URLs from the
       specified text files.  \r, \t, \n and \f are all converted
       to their normal printf(2) meanings.  The default REGEXP is


	       ((((ht|f)tp)|mailto):(//)?[^ >"]*|www.[-a-z0-9.]+)[^ .,;>">]



       COMMAND <command to launch with URL>

       If  the	specified  command  contains a ``%s'', it will be
       subsituted with the URL that was requested, otherwise  the
       URL  is	appended to the COMMAND string.	The default COM-
       MAND is

	       lynx '%s'


       NOTE: you should always	put  single  quotes  ('')  around
       usage of ``%percnt;s'' to avoid characters in the selected
       URL from being interpreted by your shell.  For example,	I
       could put the following URL in my email messages: X-Nasty-
       Url:  http://www.`program_to_execute_as_you`.com	If   you
       pass  this  URL	to your shell, it could have nasty conse-
       quences.


FILES
       ~/_urlview
	      urlview configuration file





								1





urlview(1)					     urlview(1)


SEE ALSO
       regcomp(3)


AUTHOR
       Michael Elkins <me@cs.hmc.edu>



















































								2


