[asterisk-dev] [Bamboo] Tilghman Lesher commented on Asterisk - 1.8 - Mac OS X Snow Leopard (10.6) 242

Tilghman Lesher bamboo at asterisk.org
Mon Jul 11 15:02:46 CDT 2011


-------------------------------------------------------------------------------
AST18-SNOWLEOPARD-242 commented by Tilghman Lesher - 11 Jul 2011, 3:02:46 PM
-------------------------------------------------------------------------------

Confirmed.  /bin/sh does not accept the '-n' option to 'echo' (as a builtin) on Snow Leopard.  A possible workaround would be to code the path /bin/echo in the command.  A better workaround would be to use the printf(1) utility.  See the POSIX guide to the echo utility for the historical reason why it's a bad idea to depend upon the behavior of '-n'.

http://bamboo.asterisk.org/browse/AST18-SNOWLEOPARD-242

------------------
Previous Comments
------------------
Matthew Nicholson (11 Jul 2011, 2:22:13 PM)
>This appears to fail because '-n' is not a valid option for echo on OS X.
        

--
This message is automatically generated by Atlassian Bamboo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110711/2373f759/attachment-0001.htm>


More information about the asterisk-dev mailing list