| 1 |
.TH KPSESTAT 1 "1 March 2011" "Kpathsea 6.4.2" |
| 2 |
.\"===================================================================== |
| 3 |
.if n .ds MP MetaPost |
| 4 |
.if t .ds MP MetaPost |
| 5 |
.if n .ds MF Metafont |
| 6 |
.if t .ds MF M\s-2ETAFONT\s0 |
| 7 |
.if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP |
| 8 |
.if n .ds TX TeX |
| 9 |
.ie t .ds OX \fIT\v'+0.25m'E\v'-0.25m'X\fP for troff |
| 10 |
.el .ds OX TeX for nroff |
| 11 |
.\" the same but obliqued |
| 12 |
.\" BX definition must follow TX so BX can use TX |
| 13 |
.if t .ds BX \fRB\s-2IB\s0\fP\*(TX |
| 14 |
.if n .ds BX BibTeX |
| 15 |
.\" LX definition must follow TX so LX can use TX |
| 16 |
.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX |
| 17 |
.if n .ds LX LaTeX |
| 18 |
.\"===================================================================== |
| 19 |
.SH NAME |
| 20 |
kpsestat \- compute octal mode from mode of existing file |
| 21 |
.SH SYNOPSIS |
| 22 |
.B kpsestat |
| 23 |
.I mode |
| 24 |
.I file |
| 25 |
.\"===================================================================== |
| 26 |
.SH DESCRIPTION |
| 27 |
.B kpsestat |
| 28 |
prints the octal permission of |
| 29 |
.I file |
| 30 |
modified according to |
| 31 |
.I mode |
| 32 |
on standard output. The |
| 33 |
.I mode |
| 34 |
parameter accepts a subset of the symbolic permissions accepted by |
| 35 |
.BR chmod (1). |
| 36 |
Use |
| 37 |
.B = |
| 38 |
as the mode to obtain the unchanged permissions. |
| 39 |
.\"===================================================================== |
| 40 |
.SH OPTIONS |
| 41 |
.B kpsestat |
| 42 |
accepts the following options: |
| 43 |
.TP |
| 44 |
.B --help |
| 45 |
Print help message and exit. |
| 46 |
.TP |
| 47 |
.B --version |
| 48 |
Print version information and exit. |
| 49 |
.\"===================================================================== |
| 50 |
.SH "SEE ALSO" |
| 51 |
.BR chmod (1). |