christos
c888dfac35
PR/2936: Brian C. Grayson: Avoid truncating precious files when installing
...
and the filesystem is full. Added -r flag to install, which installs on
a temporary file and then renames to the final destination.
1999-02-04 11:56:48 +00:00
hubertf
5f648bdae3
enable numbered backups via -B.old%02d
1999-01-26 01:34:25 +00:00
hubertf
a9539cd876
Add a -b(ackup) flag to move any existing file(s) aside by renaming
...
them to file.old instead of simply deleting them. A different backup
suffix may be chosen with the -B option's argument.
1999-01-25 01:42:57 +00:00
wsanchez
438823cc1c
Add new option -S, which is like -s, but takes a string of options to pass to strip,
...
rather than "-s". For example:
install -S "-i -s symbolfile" foo /usr/bin/foo
Invokes:
/bin/sh -c "strip -i -s /usr/bin/foo"
This is needed, because we need different strip options for dynamic libraries and
Mach-O bundles than for executables; our strip supports more directed stripping.
/bin/sh is used in this case, to parse the arguments.
Don't bother mmap()ing files of zero length. Was a workaround for a bug in our mmap(),
which didn't get along with such files, but makes sense anyway.
1998-10-08 02:12:51 +00:00
christos
710d4c153b
add -p flag, similar to cp(1)
1998-09-28 08:16:15 +00:00
lukem
42feae592b
getopt returns -1 not EOF, fix .Nm
1997-10-20 03:32:25 +00:00
mrg
6e4783d48e
WARNSify; deprecate register; clean up .Nm
1997-10-19 14:42:36 +00:00
thorpej
00b4f27f35
Allow the environment variable $STRIP to override _PATH_STRIP for
...
`-s', helping out cross-compiling.
1997-04-17 07:56:55 +00:00
christos
8913266731
PR/3445: NAKAJIMA Yoshihiro: Typo fix
1997-04-03 15:28:06 +00:00
christos
9384236fae
Add support for installing hard and symbolic links via the [-l harms] flag.
1997-03-16 19:43:19 +00:00
mouse
ee6a5b2cd6
alternate -> alternative, per PR 2643
1997-03-08 14:24:19 +00:00
jtc
12ee8ea259
Merged with 4.4lite.
...
Changed to conform to NetBSD's new RCS Id convention.
Changed to use err(),errx(),warn(),warnx().
1994-11-14 04:57:16 +00:00
mycroft
c3e42d1c64
Add RCS indentifiers.
1993-08-01 07:22:47 +00:00
jtc
2de36c6cb2
Added -d option to install
1993-06-11 18:30:46 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00