PATHCHK(1) User Commands PATHCHK(1)

pathchk - check whether file names are valid or portable

pathchk [OPTION]... NAME...

Diagnose invalid or unportable file names.

check for most POSIX systems
check for empty names and leading "-"
check for all POSIX systems (equivalent to -p -P)
display this help and exit
output version information and exit

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

GNU coreutils online help:
Report any translation bugs to

Copyright © 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Full documentation
or available locally via: info '(coreutils) pathchk invocation'

April 2023 GNU coreutils 9.3