From: Jay Satiro Date: Sun, 16 Feb 2025 08:05:15 +0000 (-0500) Subject: variable.md: clarify 'trim' example X-Git-Tag: curl-8_13_0~454 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a74135737a257ad297cee05dc98c09df11660f6;p=thirdparty%2Fcurl.git variable.md: clarify 'trim' example - Use the variable name 'var' instead of 'url' since the latter is also a function name and that may confuse the user. Closes https://github.com/curl/curl/pull/16346 --- diff --git a/docs/cmdline-opts/variable.md b/docs/cmdline-opts/variable.md index 5b23e1fc42..1a0e70e209 100644 --- a/docs/cmdline-opts/variable.md +++ b/docs/cmdline-opts/variable.md @@ -71,7 +71,7 @@ removes all leading and trailing white space. Example: - curl --expand-url https.//example.com/{{url:trim}} + curl --expand-url https://example.com/{{var:trim}} ## json outputs the content using JSON string quoting rules.