mtimeout.1: Use correct dash for number ranges.
[misc] / with-umask.1
CommitLineData
3dd40cc8
MW
1.de VS
2.sp 1
3.RS
4.nf
5.ft B
6..
7.de VE
8.ft R
9.fi
10.RE
11.sp 1
12..
13.TH with-umask 1 "5 April 2015" "Edgeware tools"
14.SH NAME
15with-umask \- run a command with a particular umask set
16.SH SYNOPSIS
17.B with-umask
18.I mode
19.I command
20.RI [ arguments ...]
21.SH DESCRIPTION
22The
23.B with-umask
24program sets its umask to
25.I mode
26and then executes
27.I command
28with the given
29.IR arguments .
30.PP
31The
32.I mode
33may be either a literal mask written in octal, where set bits correspond
34to mode bits to be forced clear when creating files, or a symbolic mode
35in
36.BR chmod (1)
37style listing the mode bits to be preserved. (Other forms may be
38acceptable:
39.B with-umask
40is currently a shell script, and uses
41.BR /bin/sh 's
42.B umask
43built-in to do its work.)
44.PP
45Command line options:
46.TP
47.B "\-h"
48Show very brief help, and exit.
49.SH BUGS
50None known.
51.SH AUTHOR
52Mark Wooding <mdw@distorted.org.uk>