Control: retitle -1 pinfo: "pinfo <infopage>" fails if <infopage> also exists 
as a directory

On 2022-10-10 11:31:57 +0200, Jakub Wilk wrote:
>    $ pinfo python3.10
>    Przemek's Info Viewer v0.6.13
>    cat: /usr/share/info/python3.10: Is a directory
>    Failed to execute command 'cat /usr/share/info/python3.10> 
> /tmp/pinfo.pkwiHn': 1

Ditto with "pinfo emacs". This is because /usr/share/info contains
both the info file ("emacs.info.gz") and a directory with that name
("emacs").

There's also the same issue if it exists as any file.

-- 
Vincent Lefèvre <vinc...@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 via email to