[Bug 223526] man(1) expands page names which contains wildcards

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 8 11:41:48 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223526

            Bug ID: 223526
           Summary: man(1) expands page names which contains wildcards
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: wosch at FreeBSD.org

I tried to search a manpage with an asterix and surprisely it returns a
manpage.

The man(1) page says:

SYNOPSIS
     man  [mansect] page ...



$ man -w 'm*n'
/usr/share/man/man1/man.1.gz

$ man -a -w '*[nM]*[nN]*'
/usr/share/man/man1/continue.1.gz
/usr/local/man/man1/FvwmBanner.1.gz
/usr/local/lib/perl5/5.24/perl/man/man1/perlintern.1.gz
/usr/share/man/man8/ancontrol.8.gz
/usr/local/man/man8/avahi-dnsconfd.8.gz
/usr/share/man/man2/clock_nanosleep.2.gz
/usr/share/man/man3/ATOMIC_VAR_INIT.3.gz
/usr/local/man/man3/CURLINFO_NUM_CONNECTS.3.gz
/usr/share/openssl/man/man3/ASN1_TIME_print.3.gz
/usr/local/lib/erlang/man/man3/CosEventChannelAdmin.3
/usr/local/lib/perl5/site_perl/man/man3/Authen::NTLM.3.gz
/usr/local/lib/perl5/5.24/perl/man/man3/CPAN::HandleConfig.3.gz
/usr/share/man/man4/acpi_panasonic.4.gz
/usr/share/man/man5/dhclient.conf.5.gz
/usr/local/man/man5/avahi-daemon.conf.5.gz
/usr/share/man/man6/banner.6.gz
/usr/share/man/man7/environ.7.gz
/usr/local/man/man7/ALTER_DOMAIN.7.gz
/usr/local/lib/erlang/man/man7/SNMP-COMMUNITY-MIB.7
/usr/share/man/man9/DB_COMMAND.9.gz



On debian I get a result as expected:

$ man -w 'm*n'
No manual entry for m*n

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


More information about the freebsd-bugs mailing list