bug-make
[Top][All Lists]
Advanced

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

Re: $(wildcard) not expanding generated files


From: Paul Jarc
Subject: Re: $(wildcard) not expanding generated files
Date: Tue, 21 Jan 2003 14:41:39 -0500
User-agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.2 (i686-pc-linux-gnu)

"Johan Bezem" <address@hidden> wrote:
> DervishD wrote:
>> Will this undesired
>> behaviour (undesired by me, at least) be solved if I replace
>> $(wildcard pattern) with $(shell echo pattern)?
>
> No, you'd probably need 'ls', 'echo' just echoes the given characters, and
> uses no wildcard expansion AFAIK, depending on your shell.

ls doesn't do wildcard expansion either.  The shell does it, and does
it for all commands, including ls and echo.  The difference is that
echo will output its arguments unconditionally, and ls will check
whether the named files exist.


paul




reply via email to

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