Re: Newline escape sequence with -F
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 <
curl-users_at_cool.haxx.se> 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: https://cool.haxx.se/list/listinfo/curl-users
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-06-19