summaryrefslogtreecommitdiff
path: root/macros/plain/contrib/pdcmac/pinstall.1
blob: 7faccac859fb0873a888e1e1bcdf2c06371a5b27 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
.TH PINSTALL 1 "Time-stamp: <pdc 1995-03-27>" "PDCMAC 1.0" "CONTRIBUTED SOFTWARE"
.SH NAME
pinstall \- shellscript for copying programs into system directories,
compatible with install
.SH SYNOPSIS
.na
.B pinstall
[
.B \-c
] [
.I options
]
.I file1
.I file2
.br
.B pinstall
[
.B \-c
] [
.I options
]
.I file\|.\|.\|.
.I dir
.br
.BR pinstall
.B \-\-help
|
.B \-\-version
.PP 
.I options
= [
.B \-\-no\-create
] [
.BI \-\-group= groupname
] [
.BI \-\-owner= username
] [
.BI \-\-mode= mode
] [
.B \-\-strip 
]
.SH DESCRIPTION
.na 
This documents the 
.SM PDCMAC 
version of
.IR install (1),
called
.IR pinstall .
It is only used if 
.SM GNU
.I install
is not available.
.PP
This copies 
.I file1
(which must exist)
to the name
.IR file2 ,
or
the 
.I files
into the directory called
.IR dir ,
preserving the last-modified times
(just like
.BR "cp \-p" ).
.PP
This command is implemented as a shellscript.
.SH OPTIONS
.TP
.B \-c
Ignored.
.TP
.BI \-\-group= "groupname, " "\-g " groupname
.PD 0v
.TP
.BI \-\-owner= "username, " "\-o " username
.TP
.BI \-\-mode= "mode, " "\-m " mode
.PD
Set the group, owner or mode for the new files (using the same
conventions as
.IR chgrp (1),
.IR chown (1),
and
.IR chmod (1)
respectively).
Only root can combine changes of mode and group.
.TP
.BR \-\-help ", " \-h
Print a usage message and exit.
.TP
.BR \-\-no\-create ", " \-n
Do not copy files; instead print the commands that would have been performed.
.TP
.BR \-\-strip ", " \-s
Apply 
.IR strip (1)
to the files after copying them.
.TP
.BR \-\-version ", " \-V
Print a version identification message and exit.
.SH AUTHOR
P. Damian Cugley
.I damian.cugley@comlab.ox.ac.uk
.SH "SEE ALSO"
pmkdir(1), chgrp(1), chown(1), chmod(1), cp(1), strip(1), install(1)