summaryrefslogtreecommitdiff
path: root/usr.bin/pathchk
Commit message (Collapse)AuthorAgeFilesLines
* pathchk(1): Fix the example so it allows arbitrary pathnames.Jilles Tjoelker2010-05-011-1/+1
| | | | | | | | | | | | | Spaces and various other characters in pathnames are not passed through literally by xargs in its default mode. Instead, use find . -exec ... {} + Although the -- argument is not strictly required here, add it anyway to avoid surprises when modifying the code to find -f -somedir ... MFC after: 1 week Notes: svn path=/head/; revision=207485
* pathchk: Add the new POSIX -P option.Jilles Tjoelker2010-05-012-6/+26
| | | | | | | | | | This option checks for empty pathnames and components starting with '-'. Our -p option also checks for the latter, which remains the case. MFC after: 1 week Notes: svn path=/head/; revision=207483
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-05-211-1/+1
| | | | Notes: svn path=/head/; revision=146466
* Sort sections.Ruslan Ermilov2005-01-181-2/+2
| | | | Notes: svn path=/head/; revision=140420
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Unbreak support for systems that have no limit on pathname length.Tim J. Robbins2002-12-151-4/+2
| | | | | | | Noticed by: bde Notes: svn path=/head/; revision=107888
* Update pathchk to reflect the fact that 1003.1-2001 now includes theTim J. Robbins2002-12-141-0/+2
| | | | | | | | | trailing null byte in PATH_MAX and _POSIX_PATH_MAX. PR: 46035 Notes: svn path=/head/; revision=107856
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* When stat(2) fails, put the name of the component it failed on in theTim J. Robbins2002-06-101-1/+2
| | | | | | | warning message as well as the path argument. Notes: svn path=/head/; revision=98093
* mdoc(7) police: tidy up the markup.Ruslan Ermilov2002-05-301-12/+9
| | | | Notes: svn path=/head/; revision=97602
* Add the pathchk utility, which checks pathnames for validity orTim J. Robbins2002-05-223-0/+321
portability between POSIX systems. Submitted by: Chuck Rouillard (manpage, initial implementation) Notes: svn path=/head/; revision=97095