Build Debian Almquist Shell (dash) for OS X (GNU bash ShellShock part 2)

Even after pushing bash to 4.3.26, the aftershock of ShellShock (pun intended) is still there, as a developer commented that even the bash43-026 patch is still a “whack-a-mole” job.

Since my other main operating system is Ubuntu and the 3rd most common used is Debian jessie/sid, I am replacing /bin/sh with dash, Debian Almquist Shell, at least for now.

Continue reading Build Debian Almquist Shell (dash) for OS X (GNU bash ShellShock part 2)

GNU on OS X

I am a OS X user, and I am also a Linux user. OS X packs FreeBSD user land, Linux packs GNU user land. Somehow I managed to like OS X, but also GNU user land.

That is why I am always trying to replace my OS X FreeBSD user land with GNU equivalents. That will involve some heavy-duty compiling and checking. Tiring, but rewarding as my scripts can work on both systems.

One missing piece I tried to port but never succeed is Ubuntu’s bash-completion package which is makes bash super easy to use.