


PATHCHK(1L)                                           PATHCHK(1L)


NNAAMMEE
       pathchk - check whether pathnames are valid or portable

SSYYNNOOPPSSIISS
       ppaatthhcchhkk  [-p] [--portability] [--help] [--version] path...

DDEESSCCRRIIPPTTIIOONN
       This manual page documents the  GNU  version  of  ppaatthhcchhkk.
       For  each  _p_a_t_h,  ppaatthhcchhkk prints a message if any of these
       conditions are false:
       +o all existing directories in _p_a_t_h have  search  (execute)
       permission
       +o  the  length  of  _p_a_t_h  <= its filesystem's maximum path
       length
       +o the length of each existing directory  in  _p_a_t_h  <=  its
       filesystem's maximum file name legnth

       The exit status is:
       0 if all path names passed all of the tests,
       1 otherwise.

   OOPPTTIIOONNSS
       _-_-_h_e_l_p Print  a  usage message on standard output and exit
              successfully.

       _-_p_, _-_-_p_o_r_t_a_b_i_l_i_t_y
              Instead of performing length checks on the underly-
              ing filesystem, test the length of the pathname and
              its components against the POSIX.1  minimum  limits
              for portability.  Also check that the pathname con-
              tains no characters not in  the  portable  filename
              character set.

       _-_-_v_e_r_s_i_o_n
              Print  version  information on standard output then
              exit successfully.





















FSF                    GNU Shell Utilities                      1


