On Sun, Apr 09, 2006 at 10:00:29PM +0200, Sune Vuorela wrote:
> ~> help
> fish: Unknown command 'htmlview'
> /usr/share/fish/functions/help.fish (line 12): htmlview 
> file:///usr/share/doc/fish/index.html &
>                                                ^
> in function 'help',
>         called on standard input,

This looks to be a problem either with test(1) or upstream's expectation
of the return value of test.  help.fish uses the type function (which
calls "test -x") to determine if one out of a list of possible browsers
is installed.  "test -x" is returning a 'true' value when there is no
argument given to it, thus causing fish to try to use an unavailable
browser.

> I can't find the command htmlview in debian

I will add a "Depends: www-browser" since the help relies on one.
Thanks for pointing that out.  I'll also file a bug against coreutils
about the odd behavior of test when no arguments are supplied.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to