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

            Bug ID: 275967
           Summary: man(1) does not support some special characters in
                    filenames
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: wo...@freebsd.org

The shell script /usr/bin/man does not support some meta shell characters as
"(", "&", ")", ">", "<", "|"; ";"

E.g.

$ cp /usr/share/man/man1/cat.1.gz 'c;t.1.gz'
$ /usr/bin/man "./c;t.1.gz"
gzcat: can't stat: ./c: No such file or directory
eval: t.1.gz: not found
gzcat: can't stat: ./c: No such file or directory
eval: t.1.gz: not found

$ cp /usr/share/man/man1/cat.1.gz 'd(t.1.gz'
$ /usr/bin/man "./d(t.1.gz"
deval: 1: Syntax error: "(" unexpected

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

Reply via email to