emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using `call-process-shell-command' in `process-lines'


From: Lennart Borgman (gmail)
Subject: Re: Using `call-process-shell-command' in `process-lines'
Date: Mon, 26 Nov 2007 23:39:59 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Eli Zaretskii wrote:
Date: Mon, 26 Nov 2007 23:16:05 +0100
From: "Lennart Borgman (gmail)" <address@hidden>
CC: address@hidden, address@hidden, address@hidden

Actually the two calls below

    find -name "[ni]*.el"
    find -name [ni]*.el

both works for me when I run them in cmd.exe.

That's because the unquoted wildcard [ni]*.el does not match anything
when the startup code tries to expand it.  Such a wildcard is passed
unaltered to the `find's `main' function, which has the same effect as
if it were quoted.

The case that fails is

    find -name *.el

Because *.el matches something.

But

  find -name m*.el

also matches something and it works. Is perhaps m*.el still passed unaltered? This should explain the differences I see then.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]