[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3969) SunOS' diff doesn't like -u

At 01:00 AM 8/25/2005, hyc@symas.com wrote:
>ando@sys-net.it wrote:
>>  Kurt@OpenLDAP.org wrote:
>> >> I guess -c would be more appropriate,
>> > Not sure.  Maybe no flags would be more appropriate.
>>  in this case, I would prefer a (run-time?) test to see if -u is
>>  supported, before reverting to no flags.
>Most commercial Unix systems do not support it; it was only commonly 
>established in the last versions of GNU diff. The only sure thing will 
>be to use -c.

Some diff(1) implementations don't support -c.