/bin/date and coreutils

David Liontooth liontooth at cogweb.net
Mon May 7 16:38:19 PDT 2007


paul beard wrote:
>
> On May 7, 2007, at 12:13 PM, David Liontooth wrote:
>
>> This is very cool, as it allows my scripts to be crossplatform.
>>
>
> Sort of: on OS X you'll need to test for that and use gdate.
That's what I do with sed -- if gnused exists, use that.

Are there disadvantages to installing coreutils -- does it or could it
interefere with other programs? I'm a bit queasy, but I guess as long as
/opt/local/bin is last in the path it won't interfere.

Dave



More information about the macports-users mailing list