Package: urlview Version: 0.9-18 Severity: wishlist Tags: patch was looking for a tool capable of extracting urls and display them directly in console, so I thougth about modifying urlview for myself.
However, modifications are realy short and simple, so here is the patch (made on debian lenny). -- System Information: Debian Release: 5.0.6 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.19.2 Locale: LANG=C, lc_ctype=fr...@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages urlview depends on: ii libc6 2.7-18lenny4 GNU C Library: Shared libraries ii libncurses5 5.7+20081213-1 shared libraries for terminal hand Versions of packages urlview recommends: ii links [www-browser] 2.1pre37-1.1 Web browser running in text mode ii lynx-cur [www-browser] 2.8.7dev9-2.1 Text-mode WWW Browser with NLS sup ii w3m [www-browser] 0.5.2-2+lenny1 WWW browsable pager with excellent Versions of packages urlview suggests: ii lftp 3.7.3-1+lenny1 Sophisticated command-line FTP/HTT ii mimedecode 1.9-4 Decodes transfer encoded text type ii mutt 1.5.18-6 text-based mailreader supporting M ii ncftp 2:3.2.1-1 A user-friendly and well-featured ii wget 1.11.4-2+lenny2 retrieves files from the web -- no debconf information
412c412,420 < --- > > if (strcmp ((char *) basename (argv[0]), "urldump") == 0) > { > for (i = 0; i < urlcount; i++) > printf ("%s\n", url[i]); > > exit (0); > } >