pathchk — check whether file names are valid or portable

Examples (TL;DR)

Synopsis

pathchk [OPTION]... NAME...

Description

Diagnose invalid or unportable file names.

-p

check for most POSIX systems

-P

check for empty names and leading "-"

--portability

check for all POSIX systems (equivalent to -p -P)

--help

display this help and exit

--version

output version information and exit

Author

Written by Paul Eggert, David MacKenzie, and Jim Meyering.

Reporting Bugs

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report any translation bugs to <https://translationproject.org/team/>

See Also

Full documentation <https://www.gnu.org/software/coreutils/pathchk>
or available locally via: info '(coreutils) pathchk invocation'

Info

October 2019 GNU coreutils 8.31