[99s-extend] erlang.mk:109 sed \s is not portable

Christopher Vance cjsvance at gmail.com
Sun Dec 15 06:48:20 CET 2013


I have recently started using erlang.mk on MacOS X and OpenBSD, and have
discovered that the sed escape \s on line 109 for inserting the module list
in *.app does not work as intended on these OSs, because they do not use
GNU sed. (\s just means the letter 's', not whitespace as in perl.) I
expect all other BSD-based OSs to have the same issue.

Please consider using [[:space:]] instead. This works on both MacOS X and
OpenBSD, as well as on Linux.

-- 
Christopher Vance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ninenines.eu/archives/extend/attachments/20131215/7c20ac97/attachment.html>


More information about the Extend mailing list