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

Bug#814743: [regression?] output of info --output without argument



On 2016-02-15 11:07:00 +0900, Norbert Preining wrote:
> Dear all,
> 
> (please keep Cc)
> 
> it seems that info 6.1 lost the ability to dump the start page
> into an output file:
> 
> 	$ info --output foobar coreutils
> 
> properly dumps the coreutils page into foobar, but
> 
> 	$ info --output foobar
> 
> does *not* dump the dir/root node.
> 
> This breaks completion in some shells, as they use
> 
> 	info --output - 
> 
> to determine the possible nodes.

Note: I have not tried 6.0, which I never used due to the broken
behavior with subdirs:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792328

But up to texinfo 5.2 at least, it seems that

  info

and

  info -o <file>

were consistent.

Note also that the -o option could make info 5.2 crash:

$ info -o - -
zsh: segmentation fault (core dumped)  info -o - -

I don't know what this is supposed to do, but it should not crash.
I've just found that due to a typo on the command line (I had
written "info -output -").

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: