[Top][All Lists]

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

Re: texi2dvi: fix support for whitespace in working directory

From: Mattias Andrée
Subject: Re: texi2dvi: fix support for whitespace in working directory
Date: Tue, 26 Apr 2016 23:53:09 +0200
User-agent: Claws Mail

On Wed, 27 Apr 2016 06:45:05 +0900
Norbert Preining <address@hidden> wrote:

> On Tue, 26 Apr 2016, Gavin Smith wrote:
> > "...the Bourne shell does not systematically split
> > variables and back-quoted expressions, in particular on
> > the right-hand side of assignments and in the argument
> > of case."  
> Gavin, texi2dvi starts with
>       /bin/sh
> that means it can be *any* shell including dash (POSIX).
> You cannot expect bash behaviour then.
> Norbert
> ------------------------------------------------------------------------
> PREINING, Norbert
> http://www.preining.info JAIST,
> Japan                                 TeX Live & Debian
> Developer GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0
> ACF0 6CAC A448 860C DC13
> ------------------------------------------------------------------------

Bourne shell is not Bash. However you cannot expect the
implementation to be 100% compliant, people make errors.

Whether my patch fixes an error in texi2dvi or works around
a bug in bash's sh is unimportant. The patch is tiny, does
not decrease maintainability and fixes an error, so there
is no reason not to apply it.

Attachment: pgplWs5cOI3MX.pgp
Description: OpenPGP digital signature

reply via email to

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