The Missing Package Manager for macOS (or Linux). It's all Git and Ruby underneath, so hack away with the knowledge that you can easily revert your modifications and merge upstream updates. Open Source Software for running Windows applications on other operating systems. Such as Linux, macOS, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to. I'm looking for the best way to duplicate the Linux 'watch' command on Mac OS X. I'd like to run a command every few seconds to pattern match on the contents of an output file using 'tail' and 'sed'.
Upgrade to bash 4 in Mac OS X Filed under: Server — Tags: bash, shell Bash 4 has some nice new features that are worth the effort of updating.
Older releases are available and the Git source repository is on GitHub.
Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific experience.
Various Git logos in PNG (bitmap) and EPS (vector) formats are available for use in online and print projects.

If you already have Git installed, you can get the latest development version via Git itself:
git clone https://github.com/git/git You can also always browse the current contents of the git repository using the web interface.
Bash 4 has some nice new features that are worth the effort of updating.
Bash version can be queried with the --version flag:
The actual installation is going to happen with HomeBrew, the OS X package manager, if you don’t have it, installed it with the following command:
Update homebrew packet database and install bash:
$ bash --version might show 4.x, but bash might be using 3.x still, it’s straightforward to test, the global variable $BASH_VERSION returns bash version.
Imagine a file:
Make it executable and run it:
Seemingly it’s using the old bash still. The trick is the shebang on the first line, it’s pointing to the old bash. Change it to:
Now run it and it gives the 4 as a version.
Now close terminal and boot the machine.
It supports associative arrays, plus bunch of other stuff.
Here’s an in depth superuser thread on this.