Skip to content
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

GNU vs BSD stat: incompatible flags #1

Merged
merged 1 commit into from Sep 6, 2016
Merged

GNU vs BSD stat: incompatible flags #1

merged 1 commit into from Sep 6, 2016

Conversation

docwhat
Copy link

@docwhat docwhat commented Sep 6, 2016

BSD stat has a -f flag, but in GNU stat it is -c.

Instead of mucking around with stat, just use ZSH comparisons.

BSD stat has a `-f` flag, but in GNU stat it is `-c`.

Instead of mucking around with stat, just use ZSH comparisons.
@unixorn unixorn merged commit 8782728 into unixorn:master Sep 6, 2016
@docwhat docwhat deleted the pr/stat-vs-gstat branch September 6, 2016 18:03
@unixorn
Copy link
Owner

unixorn commented Sep 6, 2016

I didn't realize I'd put in a BSDism, thanks for the fix.

@docwhat
Copy link
Author

docwhat commented Sep 7, 2016

OSX does that to you. ;-p

I'm an OS X user and trip on these all the time. On the plus side, I've become good at fixing them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants