From bd8baed13879d30614065379cca6e2b559b4b0fa Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 10 Nov 2005 22:11:01 +0000 Subject: Introducing range stepping to the curl globbing support. Now you can specify step counter by adding :[num] within the brackets when specifying a range. --- docs/curl.1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/curl.1 b/docs/curl.1 index ccc22dd22..688a14b96 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -21,7 +21,7 @@ .\" * $Id$ .\" ************************************************************************** .\" -.TH curl 1 "4 Sep 2005" "Curl 7.14.2" "Curl Manual" +.TH curl 1 "10 Nov 2005" "Curl 7.15.1" "Curl Manual" .SH NAME curl \- transfer a URL .SH SYNOPSIS @@ -64,6 +64,12 @@ several ones next to each other: You can specify any amount of URLs on the command line. They will be fetched in a sequential manner in the specified order. +Since curl 7.15.1 you can also specify step counter for the ranges, so that +you can get every Nth number or letter: + + http://www.numericals.com/file[1-100:10].txt + http://www.letters.com/file[a-z:2].txt + If you specify URL without protocol:// prefix, curl will attempt to guess what protocol you might want. It will then default to HTTP but try other protocols based on often-used host name prefixes. For example, for host names starting -- cgit v1.2.3