[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem using call-process with grep
From: |
David Kastrup |
Subject: |
Re: problem using call-process with grep |
Date: |
Sat, 24 Dec 2005 00:52:50 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Drew Adams" <address@hidden> writes:
> maybe what arrives at the application level is gamma(,) without
> backslashes
>
> Bingo! Thank you, David.
>
> Don't know why I didn't see this before. I just need to use "\\\\" to get \,
> as is usual with a Lisp string (which this is). Sorry for wasting time.
Uh, there is still something wrong here. You wrote:
> > (call-process "grep" nil
> > (generate-new-buffer "Result")
> > nil "epsilon\\($\\)" "foo")
> >
This means that the string is 'epsilon\($\)', and call-process is
supposed to pass this unmolested into grep. So some other entity is
removing a level of backslashes that shouldn't. It is either
call-process, or grep itself.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- problem using call-process with grep, Drew Adams, 2005/12/23
- Re: problem using call-process with grep, Richard M. Stallman, 2005/12/23
- RE: problem using call-process with grep, Drew Adams, 2005/12/23
- Re: problem using call-process with grep, Kevin Rodgers, 2005/12/23
- RE: problem using call-process with grep, Drew Adams, 2005/12/23
- Re: problem using call-process with grep, David Kastrup, 2005/12/23
- RE: problem using call-process with grep, Drew Adams, 2005/12/23
- Re: problem using call-process with grep, David Kastrup, 2005/12/23
- RE: problem using call-process with grep, Drew Adams, 2005/12/23
- Re: problem using call-process with grep,
David Kastrup <=
- RE: problem using call-process with grep, Drew Adams, 2005/12/23
- Re: problem using call-process with grep, Giorgos Keramidas, 2005/12/23
- Re: problem using call-process with grep, Richard M. Stallman, 2005/12/24
- RE: problem using call-process with grep, Drew Adams, 2005/12/24
- Re: problem using call-process with grep, Eli Zaretskii, 2005/12/24
- RE: problem using call-process with grep, Drew Adams, 2005/12/24
- Re: problem using call-process with grep, Eli Zaretskii, 2005/12/24