On Tue, 30 Oct 2007 10:46:02 -0400 "Alexander K. Hansen" <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > David Lowe wrote: > > On Oct 30, 2007, at 1:26 AM, Martin Costabel wrote: > > > >> That is, it interprets the escaped backslashes plus the following > >> character as escape sequences. This is a buggy implementation > >> not of POSIX conformance, but of XSI extensions of the POSIX > >> standard, see > >> <http://www.opengroup.org/onlinepubs/009695399/utilities/echo.html> > >> It is a pity that Apple went this way. For the moment we can > >> complain and file bugs, but we have to live with it. > >> > >> Several workarounds are possible: - Replace every "echo " by > >> "/bin/echo " in configure - Replace in the first line of > >> configure sh by bash - Change the failing echo command lines so > >> that they don't use backslashes as escape sequences, i.e. replace > >> the one-liner by several lines. > > > > I'm not a frequent contributor, and may be missing something here, > > but doesn't the open group web page hint that 'echo' is deprecated > > and the use of 'printf' is encouraged? I'm not a very experienced > > programmer, how much work would it be to make that change in > > existing scripts?? > > > > Using a rusty Amiga 4000T, a shiny PowerMac G5, & a homebuilt > > Ubuntu box > > > > Oxymoron: A thinking liberal. > > > > > In our own .info files it's not really a big deal--we can change > 'echo' to 'printf' easily. > The more problematic and annoying issue is having to patch against > upstream developers' use of it in their packages, which is what's > going on in the case under discussion. I have a good relationship with the author of cadabra. I expect that he will agree to modify the original sources, if the change does not cause problems on other architectures. I have already informed him of the problem, and Martin's suggested fixes. I will try to find time in the next few days to choose one of Martin's suggestions on 10.4. Once I have a modified package that works on 10.4, I will ask for someone to try it on 10.5. -- Kevin Horton ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users