[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texi2dvi is a bash script, not a Bourne shell script
From: |
Prof Brian Ripley |
Subject: |
Re: texi2dvi is a bash script, not a Bourne shell script |
Date: |
Tue, 23 Feb 2016 12:38:24 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
The version in 6.1
% head ./util/texi2dvi
#! /bin/sh
# texi2dvi --- produce DVI (or PDF) files from Texinfo (or (La)TeX) sources.
# $Id: texi2dvi 6991 2016-02-06 12:16:13Z gavin $
still fails on Solaris. I get no output at all on real inputs, just a
status of 1, but commenting out
# No failure shall remain unpunished.
set -e
or using #! /bin/bash allows this to proceed.
Adding set -x shows the script quits at
Email bug reports to address@hidden
tex_cmd=pdflatex --file-line-error
tex_cmd=pdflatex --file-line-error
+ test -n
+ test -n
+ test -n
+ false
+ false
tex_cmd=pdflatex --file-line-error '\input'
catcode_special=maybe
tex_cmd=pdflatex --file-line-error '\input' ./openout.tex
+ verbose /usr/local/bin/texi2dvi: running pdflatex --file-line-error
'\input' ./openout.tex ...
+ false
+ rm -fr openout.log
+ eval pdflatex --file-line-error '\input' ./openout.tex
and it is too long since I debugged shell scripts to spend even more
time on this.
On 04/07/2015 07:30, Prof Brian Ripley wrote:
On 03/07/2015 22:49, Gavin Smith wrote:
On 1 July 2015 at 08:49, Prof Brian Ripley <address@hidden> wrote:
On Solaris 10, installed from the sources:
swift-9% texi2dvi --version
texi2dvi (GNU Texinfo 6.0) 6363
and any invocation gives
/usr/local/bin/texi2dvi: BSTINPUTS: not found
The head of the script is
#! /bin/sh
# texi2dvi --- produce DVI (or PDF) files from Texinfo (or (La)TeX)
sources.
# $Id: texi2dvi 6363 2015-06-26 12:36:32Z gavin $
and /bin/sh is a Bourne shell derived from AT&T Unix.
Hello Brian,
I have uploaded a new version of the script at
http://ftp.gnu.org/gnu/texinfo/. Maybe you could try it and report any
other problems you have with it?
I am about to leave for vacation, but on a quick test no problems emerged.
Best regards
Gavin
--
Brian D. Ripley, address@hidden
Emeritus Professor of Applied Statistics, University of Oxford
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: texi2dvi is a bash script, not a Bourne shell script,
Prof Brian Ripley <=