I don't think the choice of the char is an issue.

Even in cmd, as soon as you use " " the cmd will not interpret <.

But I am not a cmd expert, I only use Powershell if I'm not on Linux
anyway. So please correct me if I'm wrong.


On Wed, 22 Apr 2026, 19:45 Paul Gilmartin via curl-users, <
[email protected]> wrote:

> On 4/22/26 09:44, Jeremy Nicoll via curl-users wrote:
> >>> curl -T 'file{<glob1>1,2,3}'https://upload.example/{<glob2>this,that}
> -o
> >>> 'response-#<glob1>-#<glob2>'
> >> I like it a lot.
> > In the Windows cmd.exe terminal one has to escape the angle brackets
> (with
> > '^' chars) to prevent them from being treated as redirection indicators
> so
> > some other characters would be better.
> There aren't enough characters.  Consider:
> 585 $ touch  'foo <bar>' 'foo
> bar'
> 586 $ ls foo*
> 'foo'$'\n''bar'  'foo <bar>'
> 587 $
>
> --
> gil
>
> --
> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
> Etiquette:   https://curl.se/mail/etiquette.html
>
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to