[colug-432] Portable Shell
Eric Floehr
eric at intellovations.com
Mon Oct 19 09:52:06 EDT 2015
>
> 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.
>
I would concur, it's a bigger issue than shell command compatibility. sed
especially on OSX is ancient. For example, in-place editing is different
between GNU and OSX versions.
-Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20151019/ce179346/attachment.html
More information about the colug-432
mailing list