Wie kann ich das Datum von GNU in OS X festlegen?

17

Ich mache brew search dateerfolglos. Ich habe coreutilsin meinem System. Ich konnte nirgendwo ein GNU-Datum finden.


Wie können Sie ein GNU-Datum in OS X haben?

Léo Léopold Hertz 준영
quelle

Antworten:

27

Die gdateBinärdatei von coreutils sollte das Gnu-Datumsprogramm sein:

$ gdate --version
date (GNU coreutils) 8.25
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.

Wenn Sie das nicht im Weg haben, brew rm coreutils && brew install coreutilswäre es vielleicht ein Ort, an dem Sie anfangen und Ihre inspizieren können$PATH

bmike
quelle