Re: How to compare the files in two directories with a script?

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 04/30/05


Date: Sat, 30 Apr 2005 13:45:46 GMT

On comp.unix.shell, in <jJKdnRvNX9KTHe7fRVn-jQ@comcast.com>, "Ed Morton" wrote:

<snip>

>
>>>with spaces in their names (see question 16 in the FAQ,
>>>http://home.comcast.net/~j.p.h/cus-faq.html#P). You can do the
>>>equivalent with:
>>>
>>>for var1 in "$1"/*
>>>do
>>> for var2 in "$2"/*
>>> do
>>> tkdiff.tcl var1 var2
>>
>>
>>
>> "Besides missing "$"s in the var references".
>

> Cute. Well, I did say it was equivalent - it wouldn't
> work either ;-) .
>
> Ed.

Touche.

AC