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: Eli Zaretskii
Subject: Re: Using `call-process-shell-command' in `process-lines'
Date: Tue, 27 Nov 2007 00:22:42 +0200

> 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.  Try running it from a directory that
doesn't have any .el files, like this:

   find /path/to/emacs/lisp -name *.el

and you will see the difference.

Again, this has nothing to do with the problem at hand.




reply via email to

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