[colug-432] Portable Shell

Rick Hornsby richardjhornsby at gmail.com
Mon Oct 19 09:44:30 EDT 2015



> On Oct 19, 2015, at 05:48, Mike Plemmons <mikeplemmons at gmail.com> wrote:
> 
> There are plenty of people on this list with more experience across a wider range of UNIX/Linux but I think Bash is your safest bet.

One of the biggest shell script portability issues I've run into - going between Linux and OS X (BSD variant) - is not with bash itself, but with tools like sed being slightly different.  The solution on OSX is to use the gnu tools (i.e. gsed) from homebrew - but it's confusing until you know that's what's happening.




More information about the colug-432 mailing list