Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2020 08:15:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243480] shells/fish should depend on textproc/groff
Message-ID:  <bug-243480-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243480

            Bug ID: 243480
           Summary: shells/fish should depend on textproc/groff
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: i.galic@brainsware.org
                CC: asomers@FreeBSD.org, bapt@FreeBSD.org
                CC: asomers@FreeBSD.org, bapt@FreeBSD.org

When using a builtin in fish wrongly, fish tries to helpfully render that
builtin's help page. Unfortunately, by default groff isn't installed, and f=
ish,
despite using nroff doesn't depend on it, so the result is:

~ $ set -e /usr/local/llvm80/bin fish_user_paths
fish: Unknown command nroff
/usr/local/share/fish/functions/__fish_print_help.fish (line 1):
gunzip -c "$__fish_data_dir/man/man1/$item.1.gz" 2>/dev/null | nroff -c -man
$mfish -t $rLL 2>/dev/null
                                                               ^
in command substitution
        called on line 28 of file
/usr/local/share/fish/functions/__fish_print_help.fish

in function '__fish_print_help'
        called on standard input
        with parameter list 'set'

in command substitution
        called on standard input

set --erase: Expected 1 args, got 2


after installing groff, the same invocation yields:

~ $ set -e /usr/local/llvm80/bin fish_user_paths
set --erase: Expected 1 args, got 2

       set

   Synopsis
       set [SCOPE_OPTIONS]
       set [OPTIONS] VARIABLE_NAME VALUES...
       set [OPTIONS] VARIABLE_NAME[INDICES]... VALUES...
       set ( -q | --query ) [SCOPE_OPTIONS] VARIABLE_NAMES...
       set ( -e | --erase ) [SCOPE_OPTIONS] VARIABLE_NAME
       set ( -e | --erase ) [SCOPE_OPTIONS] VARIABLE_NAME[INDICES]...
       set ( -S | --show ) [SCOPE_OPTIONS] [VARIABLE_NAME]...

set: Type 'help set' for related documentation

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243480-7788>