]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/cmdline-opts: drop double quotes from GLOBBING and URL examples
authorDaniel Stenberg <daniel@haxx.se>
Fri, 3 Oct 2025 10:38:40 +0000 (12:38 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 3 Oct 2025 11:47:16 +0000 (13:47 +0200)
It looks easier on the eye without them

Closes #18829

docs/cmdline-opts/_GLOBBING.md
docs/cmdline-opts/_URL.md

index 282356c3efbac48a4e3185d49eecfebd7471a62f..c3c7951acb27c61636778691496cc8c0025eb34a 100644 (file)
@@ -6,31 +6,31 @@ or ranges within brackets. We call this "globbing".
 
 Provide a list with three different names like this:
 
-    "http://site.{one,two,three}.com"
+    http://site.{one,two,three}.com
 
 Do sequences of alphanumeric series by using [] as in:
 
-    "ftp://ftp.example.com/file[1-100].txt"
+    ftp://ftp.example.com/file[1-100].txt
 
 With leading zeroes:
 
-    "ftp://ftp.example.com/file[001-100].txt"
+    ftp://ftp.example.com/file[001-100].txt
 
 With letters through the alphabet:
 
-    "ftp://ftp.example.com/file[a-z].txt"
+    ftp://ftp.example.com/file[a-z].txt
 
 Nested sequences are not supported, but you can use several ones next to each
 other:
 
-    "http://example.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.html"
+    http://example.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.html
 
 You can specify a step counter for the ranges to get every Nth number or
 letter:
 
-    "http://example.com/file[1-100:10].txt"
+    http://example.com/file[1-100:10].txt
 
-    "http://example.com/file[a-z:2].txt"
+    http://example.com/file[a-z:2].txt
 
 When using [] or {} sequences when invoked from a command line prompt, you
 probably have to put the full URL within double quotes to avoid the shell from
index 48ae02a556ff365e3b0d056da7cf66c7b14e52d8..580974f06252a57f970ec220e632e19af70a1df4 100644 (file)
@@ -22,7 +22,7 @@ separate curl runs.
 
 Provide an IPv6 zone id in the URL with an escaped percentage sign. Like in
 
-    "http://[fe80::3%25eth0]/"
+    http://[fe80::3%25eth0]/
 
 Everything provided on the command line that is not a command line option or
 its argument, curl assumes is a URL and treats it as such.