GNU bug report logs - #22203
25.0.50; # is treated as a comment character in shell-command arg

Previous Next

Package: emacs;

Reported by: Kaushal Modi <kaushal.modi <at> gmail.com>

Date: Fri, 18 Dec 2015 16:27:01 UTC

Severity: normal

Found in version 25.0.50

Done: Kaushal Modi <kaushal.modi <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Wolfgang Jenkner <wjenkner <at> inode.at>
To: Kaushal Modi <kaushal.modi <at> gmail.com>
Cc: 22203 <at> debbugs.gnu.org
Subject: bug#22203: 25.0.50; # is treated as a comment character in shell-command arg
Date: Fri, 18 Dec 2015 20:11:52 +0100
On Fri, Dec 18 2015, Kaushal Modi wrote:

> (shell-command "echo abc#def" "*abc*")
>
> is treated as
>
> (shell-command "echo abc" "*abc*")

The last stop in the call chain before entering C-land is
`call-process-region'.  It might be interesting to see what arguments
that function is passed (M-x trace-function).

Wolfgang




This bug report was last modified 9 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.