[Cook] Re: Cook an filenames with ' in them

Peder Stray peder at ifi.uio.no
Mon Feb 18 20:16:39 EST 2008


On Mon, 18 Feb 2008, Peter Miller wrote:

> On Sun, 2008-02-17 at 23:20 +0100, Peder Stray wrote:
>> I guess cook doesn't handle filenames with ' (single quote) in them very
>> well.
>
> Short answer: use the [quote] function.

Ah, nice...  i guess it is smarter than just \"[target]\" as i found out 
was working too.

> Cook handles quotes in file names just fine (they are simply strings, 
> after all), and as you can see it found ab'cd.c and worked out it needed 
> ab'cd.o just fine.  The wheels can off when it needed to run a shell 
> command with quotes in it.

Yeah, i guess it was bash that caused my problems.

> hope this helps

yes, very much. thank you.

-- 
   Peder Stray



More information about the Cook-users mailing list