[llvm-dev] RFC: Support for preferring paths with forward slashes on Windows

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 18 21:39:44 PDT 2021

Am Mo., 18. Okt. 2021 um 16:04 Uhr schrieb Reid Kleckner <rnk at google.com>:
> On Fri, Oct 15, 2021 at 1:53 PM Martin Storsjö via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>> I wasn't aware that cmd.exe had an escape char per se (other than ^ for
>> line continuations?).

Some MS docs recommend to use it to escape redirection (<, >) and pipe
| symbols [1]. Interestingly, ^ does NOT escape within double-quotes.
The best explanation I found about it is [2].

[1] https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/echo
[2] https://ss64.com/nt/syntax-esc.html


More information about the llvm-dev mailing list