Skip to content

Instantly share code, notes, and snippets.

@dbb
Created August 22, 2011 17:09
Show Gist options
  • Save dbb/1162924 to your computer and use it in GitHub Desktop.
Save dbb/1162924 to your computer and use it in GitHub Desktop.
% ls --version
ls: illegal option -- -
usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...]
@dbb
Copy link
Author

dbb commented Aug 22, 2011

The man page says "BSD May 19, 2002"

@telemachus
Copy link

It's not GNU ls. It's BSD ls. The option structure is completely different. (No double-dash options in BSD, in general.)

@dbb
Copy link
Author

dbb commented Aug 22, 2011

I guess my question really was, do you know of a way to get GNU ls on osx?

@dbb
Copy link
Author

dbb commented Aug 22, 2011

(without root access.) Homebrew, maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment