Is there an equivalent to ls -v in Mac OS X that will do version number sorting?
In Mac OS X, ls -v does NOT do version number sorting, but the Finder seems to.
|
feedback
|
|
The default The easiest way of getting it on a Mac is to install a package manager like Homebrew or MacPorts and install coreutils through it. So, for example, install Homebrew:
Wait a bit, read the installation instructions. Then, install coreutils:
This will add all the GNU coreutils with the To override the default
Note that this might affect other programs that rely upon the BSD version. If you just want to alias
| ||||
|
feedback
|