[ since my mails are being dropped for the other lists anyway, I might
as well drop the xorg and gnome-devtools lists ]
* Roland Mainz wrote on Mon, Apr 14, 2008 at 03:26:11PM CEST:
> Ralf Wildenhues wrote:
> > [...] we are currently working on improving things a bit more,
> > targeting improvements that help all shells which support XSI
> > extensions (and falling back to the slow code for other shells).
>
> What do you mean by "XSI extensions" ?
Shells that support Posix and XSI extensions to Posix. Stuff like
${variable%%pattern}
${variable#pattern}
Hmm, they are required by Posix even; I wonder whether they used to be
extensions required by XSI only, or why else we would have chosen that
name. Anyway, that's what I mean.
> BTW: One thing which could be improved in both "libtool" and "dolt"
> (beyond the stuff listed in
> http://www.opensolaris.org/os/project/shell/shellstyle/) would be to get
> rid of the "echo" h*ll - almost every version of Unix/Linux and shell
> has it's own version of "echo"
I'm not sure what you're talking about: the configure part of Libtool
looks whether 'echo' doesn't interpret backslashes, and otherwise
searches for a (preferably builtin) command that prints without
expanding. And of course we also try printf, but it's known to be buggy
on some systems. It sets $ECHO to the preferred choice.
If you're experiencing a quoting bug, or a system where we choose a
non-builtin for $ECHO where a builtin would do the job just as well,
then please report a bug.
Also, some of the recommendations in the link you quote are rather
questionable. For example, the code in
<http://www.opensolaris.org/os/project/shell/shellstyle/#use_external_filters_only_for_large_datasets>
is much more portably (and likely faster, too) replaced by
case $x in *foo*) do_something;; esac
at the expense of using BREs over EREs, of course.
Also, some items explicitly recommend to use nonportable constructs over
portable ones, even without efficiency concerns. This is not a way to
go for Libtool.
> Question for both "dolt" and "libtool" developers:
> Where should I send bug reports/patches to ?
Libtool patches go to [EMAIL PROTECTED] Note that nontrivial
patches require copyright assignment to the FSF.
Cheers,
Ralf
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool