Thank you. Since I intend to stick with make:

Does anyone have a utility script (that could be adapted) to
mass-sanitize some jpg files?

I am referring to file pathnames of the jpg files, not the contents
thereof - lol.

On 3/27/06, Aditya Kher <[EMAIL PROTECTED]> wrote:
> > 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
>


--
http://chris.chiasson.name/


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to