| pathchk.1 - sbase - suckless unix tools | |
| git clone git://git.suckless.org/sbase | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| pathchk.1 (546B) | |
| --- | |
| 1 .Dd February 3, 2016 | |
| 2 .Dt PATHCHK 1 | |
| 3 .Os sbase | |
| 4 .Sh NAME | |
| 5 .Nm pathchk | |
| 6 .Nd validate filename validity or portability | |
| 7 .Sh SYNOPSIS | |
| 8 .Nm | |
| 9 .Op Fl p | |
| 10 .Op Fl P | |
| 11 .Ar file Ar ... | |
| 12 .Sh DESCRIPTION | |
| 13 .Nm | |
| 14 checks that filenames are valid for the system, | |
| 15 and optional on other POSIX systems. | |
| 16 .Sh OPTIONS | |
| 17 .Bl -tag -width Ds | |
| 18 .It Fl p | |
| 19 Check for most POSIX systems. | |
| 20 .It Fl P | |
| 21 Check for empty pathnames and leading hythens. | |
| 22 .El | |
| 23 .Sh EXIT STATUS | |
| 24 .Bl -tag -width Ds | |
| 25 .It 0 | |
| 26 All pathname operands passed all of the checks. | |
| 27 .It > 0 | |
| 28 An error occurred. | |
| 29 .El | |
| 30 .Sh STANDARDS | |
| 31 POSIX.1-2013. |