[TxMt] Req: Compare docs-Diff

Sune Foldager cryo at cyanite.org
Sat Feb 19 14:19:20 UTC 2005


On 19. feb 2005, at 14:41, Allan Odgaard wrote:

> On Feb 19, 2005, at 14:31, Sune Foldager wrote:
>> Sounds odd. Even if I do stuff like A='"foo bar"' ls $A  I get  "foo 
>> not found, bar" not found. I don't think it passes it as a single 
>> argument.
>
> Nah, seems the quotes are the problem:
> % tst () { echo $1; }
> % foo="'this' 'is' 'a' 'test'"
> % tst $foo
> 'this'

I don't get it; this is expected behaviour, no? At least I expected 
this ;-). It obviously splits foo. It would still split it if you had 
done "'this is a' test" or similar.

-- 
Sune.
     " his body is a golden string, that your body is hanging from "




More information about the textmate mailing list