Bug#441301: moreutils: url2file -- wget a URL into a file an print it
Package: moreutils
Version: 0.23
Severity: wishlist
Hi,
A short, self explanatory, example
$ wc -l $(url2file http://specs.dachary.org/url2file/index.html)
9234
url2file has been most usefull to me and I would like to
add it to moreutils. The development URL is at
http://specs.dachary.org/url2file/ and the manual page follows. Let
me know what you think.
Cheers,
url2file(1) url2file(1)
NAME
url2file - wget a URL into a file an print the filename
SYNOPSIS
url2file [-C] URL
DESCRIPTION
Given a valid URL, fetch it using wget(1) and store it into a cache
directory. The file of the file in the cache directory is printed on
the stdout.
If called with the -C option clears the $HOME/.url2file cache com-
pletly. By default, files not accessed during the last seven days are
removed from the cache.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-vserver-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages moreutils depends on:
ii libc6 2.6.1-1 GNU C Library: Shared libraries
ii perl 5.8.8-7 Larry Wall's Practical Extraction
moreutils recommends no packages.
-- no debconf information
Reply to: