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

Bug#914984: texdoc: off-by-one error with -l



On Fri, Jan 25, 2019 at 10:52:34PM +0100, Hilmar Preuße wrote:
> On 29.11.18 11:06, Julian Gilbey wrote:
> 
> Hi Julian,
> 
> > texdoc -l number
> > reports:
> > 44 results.  Display them all? (y/N)
> > but then only lists 43 results. Either the displayed count is wrong or
> > the final result is not being displayed.
> > 
> Are you still able to reproduce the issue? Upstream says, the issue has
> been solved, but what I see is e.g.:
> 
> hille@sid:~ $ texdoc --list nu
> 316 results.  Display them all? (y/N)
> 
> ...and then 202 documents are listed.

Hi Hilmar,

I'm seeing the same behaviour on 2018.20181214-1 on my testing system
as I reported.  I've tried 2018.20190126-1 on a fairly small unstable
chroot; this works with texdoc --list gyre (49 and 49), though texdoc
--list number gives no results.  Interestingly, though, with your
example I get:

(sid):~ $ texdoc --list nu
138 results.  Display them all? (y/N) y

and then only 27 documents listed.  Hmmm.

Best wishes,

   Julian


Reply to: