Fwd: Manual says "diff -uR" but macOS diff doesn't support "-R"

Andrew Udvare audvare at gmail.com
Sun Aug 11 19:37:23 UTC 2019


Sent to the wrong place
Sent from my iPhone

Begin forwarded message:

> From: Andrew Udvare <audvare at gmail.com>
> Date: August 11, 2019 at 15:11:26 EDT
> To: Gerben Wierda <gerben.wierda at rna.nl>
> Subject: Re:  Manual says "diff -uR" but macOS diff doesn't support "-R"
> 
> 
> 
> 
>>> On Aug 11, 2019, at 14:52, Gerben Wierda <gerben.wierda at rna.nl> wrote:
>>> 
>> Busy adopting nsd (currently no maintainer). I have created a Portfile for the last version and added Startupitem statements. Everything works here.
>> 
>> The manual says:
>> 
>> diff -uR $(port dir $portname) . > change-$portname-maintainer.diff
>> 
>> However, macOS Mojave’s diff doesn’t understand that. -R is an invalid option. I’m not going to guess here, so what is it supposed to be?
> 
> Install coreutils and then run gdiff.
> 
> I believe on BSD diff it's -r.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190811/04c4b7b1/attachment.html>


More information about the macports-users mailing list