TrumanWong

pathchk

Check for non-portable parts of the file

Supplementary instructions

pathchk command is used to check the non-portable parts of the file.

grammar

pathchk(options)(parameters)

Options

-p: Check most POSIX systems;
-P: Check for empty names and files starting with "-";
--portability: Check all POSIX systems, equivalent to the "-P-p" option;
--help: display help;
--wersion: Display version number.

Parameters

  • File: file with path information;
  • Suffix: Optional parameter, specifying the file suffix string to be removed.