pathchk <pathname...>
Check pathnames for POSIX portability
Arguments
Name | Description |
---|
pathname | Pathname(s) to check |
Options
Name | Description |
---|
-p | Perform portability checks on the specified pathname arguments, writes messages if 1) path is longer than _POSIX_PATH_MAX (255) bytes 2) contains a component longer than _POSIX_NAME_MAX (14) bytes, contains any character not in the portable filename character set |
-P | In addition to the default or -p checks, write a diagnostic for each argument that 1) is empty 2) contains a component that starts with a hyphen |