-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with BSD date #1
Conversation
The macOS shell has a different date format and does not support the uppercase shortcut.
Thanks! Looks good. I'll just test this still works as intended on Linux. |
use arithmetic expressions in macOS recognition
Awk is already used elsewhere in the script
Use full if-then-else
I have fixed the issues I found. Please test whether this is still compatible with macOS. |
The Bash on MacOS X is ancient 3.2; trying to support it will limit development of this script.
Now that Bash < 4.0 is not supported, we can revert this.
Add compatibility information.
This PR isn't anymore about Mac OS X shell compatibility as it originally was. Because Apple has chosen However, your contribution is still accepted with some modifications as a support for the BSD |
The macOS shell has a different date format and does not support the uppercase shortcut.