curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Newline escape sequence with -F

From: Alex Ahn via curl-users <>
Date: Thu, 18 Jun 2020 22:21:14 -0400

Thanks. I tried ^ with both %0A and \n with -F. No success. For some reason
-F won't cooperate when it comes to sending messages to a Discord channel.
Ah well. I'll stick with Powershell 7, and get used to its ways of using `n
as the newline escape sequence. Thanks again.

On Wed, Jun 17, 2020 at 1:05 PM Jeremy Nicoll via curl-users <> wrote:

> On Wed, 17 Jun 2020, at 17:45, Alex Ahn via curl-users wrote:
> > I tried your suggestion. %%0A didn't come out as %0A...
> I think part of the problem is appreciating that different types of
> escape suit different circumstances.
> "%" is a significant character in eg BAT files, so advice on how to
> escape those inside BAT files might not have been applicable to
> what you were doing.
> I've used ^ in quite a lot of scripts, with success.
> --
> Jeremy Nicoll - my opinions are my own.
> -----------------------------------------------------------
> Unsubscribe:
> Etiquette:

Received on 2020-06-19