[Xorp-cvs] XORP cvs commit: xorp/devnotes

Kristian Larsson kristian at spritelink.net
Tue Apr 29 11:09:58 PDT 2008


On Tue, Apr 29, 2008 at 01:53:44AM +0000, Pavlin Radoslavov wrote:
> CVSROOT:	/usr/local/www/data/cvs
> Module name:	xorp
> Changes by:	pavlin at chum.icir.org	2008-04-29 01:53:44 UTC
> 
> XORP CVS repository
> 
> 
> Modified files:
> 	devnotes      update_cvsroot.sh 
> 
> Log message:
> 	Replaced "echo -n" with "echo", because the former doesn't
> 	work as expected on MacOS X 10.2 with the following /bin/sh
> 	version:
> 	
> 	GNU bash, version 3.2.17(1)-release (i386-apple-darwin9.0)
> 	
> 	Interestingly, the corresponding /bin/bash is fine:
> 	
> 	user at host[3] sh
> 	sh-3.2$ echo -n FOO
> 	-n FOO                <------ WRONG
> 	sh-3.2$ exit
> 	
> 	user at host[4] bash
> 	bash-3.2$ echo -n FOO
> 	FOObash-3.2$          <------- OK

I don't have my MacBook in front of me right now,
but could this possible be bash builtin echo vs
/bin/echo or equivalent ?

   Kristian.

-- 
Kristian Larsson                                        KLL-RIPE
Network Engineer & Peering Coordinator      SpriteLink [AS39525]
+46 704 910401			              kll at spritelink.net



More information about the Xorp-cvs mailing list