All apps/pathchk

pathchk

pathchk

Check pathnames for POSIX portability.

Runs as pathchk|macOS, Linux, Windows

Autocomplete

Fig spec, with what the manifest adds · 2 options
Published once and never changed; check the digest before caching
sha256
39ce86445d9cf46e79d6aa74a587aacbcb565bea4ee5cd9eeea16cf9f30b544d
Size
816 bytes
OptionsOn pathchk itself
-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
ArgumentsPositional, in order
<pathname>
Pathname(s) to check · repeatable · filepaths