File: dotlock.1

package info (click to toggle)
mush 7.2.5unoff2-6
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 1,664 kB
  • ctags: 1,329
  • sloc: ansic: 21,901; sh: 796; csh: 87; makefile: 72
file content (38 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.TH DOTLOCK 1 "July 16, 1996"
.SH NAME
.B dotlock
\- manage .lock locking of a file
.SH SYNOPSYS
.B dotlock
.BI "\-\-lock\fP, \fB\-l" " filename"
.br
.B dotlock
.BI "\-\-unlock\fP, \fB\-u" " filename"
.SH DESCRIPTION
.B dotlock
can be used to lock or unlock a given
.I filename
by creating or removing a
.IB filename .lock
file which, if present, indicates that
.I filename
is locked.
.PP
When trying to lock a file,
.B dotlock
will wait for an existing lock to be removed before creating
its own lock and exiting.
.SH OPTIONS
.TP
.BI "\-\-lock\fP, \fB\-l" " filename"
Lock the given
.IR filename .
.TP
.BI "\-\-unlock\fP, \fB\-u" " filename"
Unlock the given
.IR filename .
.SH DOCUMENTATION
Yves Arrouye <arrouye@debian.org>
.SH SEE ALSO
.BR mush (1)