He is correct to advocate printf. There is an entry in the bash FAQ in
relation to portable programming that endorses his view.

Sam
On Jul 25, 2012 5:37 PM, "Miguel de Benito Delgado" <
m.debenito.delg...@gmail.com> wrote:

> Any thoughts on this anyone? I know very little about shell
> compatibility issues..
> ________________
> Miguel de  Benito.
>
>
> On Mon, Jul 23, 2012 at 6:34 AM, Bernd Losert <berndlos...@gmail.com>
> wrote:
> > I am not sure if this has been pointed out or not, but a lot of the
> > plugin code in src/plugins/*/bin/tm_* uses the echo command in such a
> > way that it only works correctly if your shell is bash. I use zsh as
> > my shell and when I run something like xypic for example, I always get
> > these -n when the session starts. To avoid this issue, I suggest
> > rewriting anything with echo with printf instead as the behavior of
> > printf is the same across *NIX systems, unlike with echo.
> >
> > --
> > Bernd
> >
> > _______________________________________________
> > Texmacs-dev mailing list
> > Texmacs-dev@gnu.org
> > https://lists.gnu.org/mailman/listinfo/texmacs-dev
>
> _______________________________________________
> Texmacs-dev mailing list
> Texmacs-dev@gnu.org
> https://lists.gnu.org/mailman/listinfo/texmacs-dev
>
_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to