News for hackers. Stuff that matters.
Re:Homebrew is a new package management system for OS X base... by silentbicycle on Wednesday September 23, 2009 @09:16PM (#840440)
It's not that hard, provided the people who wrote it are aware that other Unices exist besides Linux.

(I've done a bit of porting to OpenBSD. It's a pet peeve of mine when people hardcode references to bash for no good reason.)

Re:Homebrew is a new package management system for OS X base... by blasdel on Wednesday September 23, 2009 @09:56PM (#840479)
It doesn't help matters at all that bash leaks bashism-support when run as /bin/sh -- it's much better that people specify bash than ship scripts that falsely claim to be bourne-compatible (since they are unlikely to test against a pure-bourne shell).

Not having a /bin/bash a losing battle -- it's way too late to get people to use the theoretically more correct #!/usr/bin/env bash just because the greybeard unices don't ship with it (despite shipping with plenty of other GPL software) and their package managers put it (when they are nice) in /usr/local/bin

Edit: That's not a diss on the greybeard unices -- I used FreeBSD and loved it dearly for years. I actually really like that they segregate all user-installed packages into a seperate root at /usr/local/ -- but for practical reasons I always make symlinks for binaries with well known locations (to use the robots.txt / favicon.ico pejorative).