texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Plugins and the echo command


From: Sam Liddicott
Subject: Re: [Texmacs-dev] Plugins and the echo command
Date: Wed, 25 Jul 2012 18:16:50 +0100

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" <address@hidden> 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 <address@hidden> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/texmacs-dev

_______________________________________________
Texmacs-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/texmacs-dev

reply via email to

[Prev in Thread] Current Thread [Next in Thread]