Re: [Fink-devel] echo -n now deprecated

2006-12-17 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean-François Mertens wrote: > I see coreutils is at version 6.7, vs 5.96 in fink. > If the maintainer were willing to update, I would hope the need for > the "/bin/" > to disappear ... ; there should be a way to write things > 'portably' (at least

Re: [Fink-devel] echo -n now deprecated

2006-12-17 Thread Matthew Sachs
On Dec 17, 2006, at 08:10, Peter O'Gorman wrote: > So you can probably assume that if there are differences between the > UNIX03 spec and bsd, then Apple will probably go with UNIX03. If the shell is invoked as /bin/sh, it will be in "standards- compliant sh mode", and echo won't interpret -n.

Re: [Fink-devel] echo -n now deprecated

2006-12-17 Thread Peter O'Gorman
On Dec 17, 2006, at 6:02 PM, Martin Costabel wrote: > David R.Morrison wrote: >> As mentioned on the new "preparing for 10.5" page on the fink wiki, >> echo -n is now deprecated in fink. I have edited the vast majority >> of packages where this occurs to conform to the new version. >> Instead

Re: [Fink-devel] echo -n now deprecated

2006-12-17 Thread Martin Costabel
David R.Morrison wrote: > As mentioned on the new "preparing for 10.5" page on the fink wiki, > echo -n is now deprecated in fink. I have edited the vast majority > of packages where this occurs to conform to the new version. Instead of > >echo -n "string" > > one should now write > >

Re: [Fink-devel] echo -n now deprecated

2006-12-16 Thread David R. Morrison
On Dec 16, 2006, at 6:11 PM, Jean-François Mertens wrote: > > On 17 Dec 2006, at 02:38, David R. Morrison wrote: > >> The reason for the /bin has to do with behaviors of different >> shells in Tiger. Without writing /bin/echo, the 'echo' command is >> processed as a shell built-in, and the r

Re: [Fink-devel] echo -n now deprecated

2006-12-16 Thread Jean-François Mertens
On 17 Dec 2006, at 04:44, Peter O'Gorman wrote: > > There is a /usr/bin/printf for shells where it is not available as a > builtin, so in tcsh printf works too, but it uses /usr/bin/printf. > > printf(1) behaves in a very similar way to the printf(3) function. > You can, for example do: > > % pri

Re: [Fink-devel] echo -n now deprecated

2006-12-16 Thread Randal L. Schwartz
> "David" == David R Morrison <[EMAIL PROTECTED]> writes: David> As mentioned on the new "preparing for 10.5" page on the fink wiki, David> echo -n is now deprecated in fink. I have edited the vast majority David> of packages where this occurs to conform to the new version. Instead of D

Re: [Fink-devel] echo -n now deprecated

2006-12-16 Thread Peter O'Gorman
On Dec 17, 2006, at 11:11 AM, Jean-François Mertens wrote: > >> It is also okay to use printf - >> >> % printf "string" >> >> http://www.opengroup.org/onlinepubs/95399/utilities/printf.html > > the doc cited is a bit painful to read through... > and 'man printf' doesn't show at all 9at first s

Re: [Fink-devel] echo -n now deprecated

2006-12-16 Thread Jean-François Mertens
On 17 Dec 2006, at 02:00, Jean-François Mertens wrote: > I see coreutils is at version 6.7, vs 5.96 in fink. > If the maintainer were willing to update, I would hope the need for > the "/bin/" > to disappear ... ; there should be a way to write things > 'portably' (at least > across current v

Re: [Fink-devel] echo -n now deprecated

2006-12-16 Thread Jean-François Mertens
On 17 Dec 2006, at 02:38, David R. Morrison wrote: > The reason for the /bin has to do with behaviors of different > shells in Tiger. Without writing /bin/echo, the 'echo' command is > processed as a shell built-in, and the results are different for > bash and tcsh. You're completely right

Re: [Fink-devel] echo -n now deprecated

2006-12-16 Thread David R. Morrison
The reason for the /bin has to do with behaviors of different shells in Tiger. Without writing /bin/echo, the 'echo' command is processed as a shell built-in, and the results are different for bash and tcsh. -- Dave On Dec 16, 2006, at 5:00 PM, Jean-François Mertens wrote: > I see coreu

Re: [Fink-devel] echo -n now deprecated

2006-12-16 Thread Peter O'Gorman
On Dec 17, 2006, at 8:49 AM, David R.Morrison wrote: > As mentioned on the new "preparing for 10.5" page on the fink wiki, > echo -n is now deprecated in fink. I have edited the vast majority > of packages where this occurs to conform to the new version. > Instead of > >echo -n "string" >

Re: [Fink-devel] echo -n now deprecated

2006-12-16 Thread Jean-François Mertens
I see coreutils is at version 6.7, vs 5.96 in fink. If the maintainer were willing to update, I would hope the need for the "/bin/" to disappear ... ; there should be a way to write things 'portably' (at least across current versions of GNU and of Darwin...). It is a bit of a shock to see coreu

[Fink-devel] echo -n now deprecated

2006-12-16 Thread David R . Morrison
As mentioned on the new "preparing for 10.5" page on the fink wiki, echo -n is now deprecated in fink. I have edited the vast majority of packages where this occurs to conform to the new version. Instead of echo -n "string" one should now write /bin/echo "string\c" (See "man echo".)