[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of wildcard function recursively
From: |
Aditya Kher |
Subject: |
Re: use of wildcard function recursively |
Date: |
Tue, 28 Mar 2006 11:39:21 +0900 |
> You cannot, in general, use GNU make (or any other standard make) with
> pathnames containing spaces.
I forwarded this to Chris earlier but didnt copy the list
why not use "shell" to do it for you?
e.g. if we have in PWD
1. a<space>b.txt
2. a<space>.c.txt
3. d.txt
and you want to process only 1. and 2. so I did this:
-----------
list:=$(shell find . -name "[a-d][[:blank:]]*\.txt")
t:
<tab>@echo ${list}
----------
then
%gmake t
gives
./a b.txt ./a c.txt
<Note space in above file names>
-aditya
- use of wildcard function recursively, Aditya Kher, 2006/03/16
- Re: use of wildcard function recursively, John Graham-Cumming, 2006/03/16
- Re: use of wildcard function recursively, Chris Chiasson, 2006/03/27
- Re: use of wildcard function recursively, Chris Chiasson, 2006/03/27
- Re: use of wildcard function recursively, Paul D. Smith, 2006/03/27
- Re: use of wildcard function recursively,
Aditya Kher <=
- Re: use of wildcard function recursively, Chris Chiasson, 2006/03/27
- Re: use of wildcard function recursively, Paul D. Smith, 2006/03/27
- Re: use of wildcard function recursively, Chris Chiasson, 2006/03/28
- Re: use of wildcard function recursively, Paul D. Smith, 2006/03/28
- Re: use of wildcard function recursively, Paul D. Smith, 2006/03/27