On Monday 16 April 2001 11:56 pm, Kevin Ryde wrote:
> I wrote:
> > so maybe it's sed.
>
> Or maybe not.
>
> eval "bar=\\\"\` echo \"\$quote\" \`\\\""
> echo $bar
>
> in bash gives what I assume is the expected result
>
> "s/\([\\"\\`$\\\\]\)/\\\1/g"
>
> whereas on Darwin
>
> "s/\([\\"\\`$\\\\]\)/\1/g"
>
> Actually Darwin /bin/sh looks like it's zsh (should have checked that
> first :-( ). In fact I get the same in zsh on i386 debian. Don't
> know what to do about it though.
Oh dear. I thought zsh was sane enough to do the right thing when argv[0] ==
/bin/sh =(O| I take it that it is zsh builtin echo that is the culprit here.
Does /bin/echo work correctly?
Well, I have a couple of ideas for a workaround...
You could try forcing a different shell: CONFIG_SHELL=/other/shell
/other/shell ./libtool blah...
Or else forcing the use of the slow fallback echo: ./libtool --no-reexec
--fallback-echo blah...
If either of these (or a variation) works let me know, and we'll see if we
can find a way to fix the echo tests so that the failure mode you are
experiencing can be fixed properly.
Cheers,
Gary.
--
___ _ ___ __ _ mailto: [EMAIL PROTECTED]
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ [EMAIL PROTECTED]
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool