Check the validity and portability of one or more pathnames.
# To check pathames for validity in the current system:
pathchk <path1 path2 ...>
# To check pathnames for validity on a wider range of POSIX compliant systems:
pathchk -p <path1 path2 ...>
# To check pathnames for validity on all POSIX compliant systems:
pathchk --portability <path1 path2 ...>
# To only check for empty pathnames or leading dashes (-):
pathchk -P <path1 path2 ...>