[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51501: 28.0.60; shell-quote-argument quotes "^!" incorrectly on MS-W
From: |
Eli Zaretskii |
Subject: |
bug#51501: 28.0.60; shell-quote-argument quotes "^!" incorrectly on MS-Windows |
Date: |
Sat, 30 Oct 2021 12:36:30 +0300 |
> Date: Sat, 30 Oct 2021 08:51:18 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: 51501@debbugs.gnu.org
>
> > (shell-quote-argument "foo^!") => "^\"foo^^^!^\""
> >
> > This is definitely NOT okay.
>
> Is this with emacs -Q?
Yes.
> I get "foo\\^\\!".
You are not on MS-Windows, I presume? The quoting is specific to the
underlying OS, and the bug report is about what happens on MS-Windows.