summaryrefslogtreecommitdiff
path: root/bin/rcp/rcp.1
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1998-11-28 03:20:37 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1998-11-28 03:20:37 +0000
commit9bb6028fe02a280e61b8f862f447486ce6b5f72a (patch)
treeebd1056cace973776cd01330a93779596980ef88 /bin/rcp/rcp.1
parenteecdb9deb4317c0e37ed8d58ba92503563912fed (diff)
start killing redundant .Nm macro arguments (mandoc ``remembers'' the first one
it's given)
Diffstat (limited to 'bin/rcp/rcp.1')
-rw-r--r--bin/rcp/rcp.122
1 files changed, 11 insertions, 11 deletions
diff --git a/bin/rcp/rcp.1 b/bin/rcp/rcp.1
index 48d38deff85..f782119b6b0 100644
--- a/bin/rcp/rcp.1
+++ b/bin/rcp/rcp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcp.1,v 1.5 1998/11/06 00:34:09 aaron Exp $
+.\" $OpenBSD: rcp.1,v 1.6 1998/11/28 03:20:35 aaron Exp $
.\" $NetBSD: rcp.1,v 1.6 1995/07/25 19:37:25 jtc Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
@@ -41,17 +41,17 @@
.Nm rcp
.Nd remote file copy
.Sh SYNOPSIS
-.Nm rcp
+.Nm
.Op Fl Kpx
.Op Fl k Ar realm
.Ar file1 file2
-.Nm rcp
+.Nm
.Op Fl Kprx
.Op Fl k Ar realm
.Ar file ...
.Ar directory
.Sh DESCRIPTION
-.Nm rcp
+.Nm
copies files between machines. Each
.Ar file
or
@@ -75,7 +75,7 @@ Available options are as follows:
Turns off all Kerberos authentication.
.It Fl k
Requests
-.Nm rcp
+.Nm
to obtain tickets
for the remote host in realm
.Ar realm
@@ -83,7 +83,7 @@ instead of the remote host's realm as determined by
.Xr krb_realmofhost 3 .
.It Fl p
Causes
-.Nm rcp
+.Nm
to attempt to preserve (duplicate) in its copies the modification
times and modes of the source files, ignoring the
.Ar umask .
@@ -95,7 +95,7 @@ modified by the
on the destination host is used.
.It Fl r
If any of the source files are directories,
-.Nm rcp
+.Nm
copies each subtree rooted at that name; in this case
the destination must be a directory.
.It Fl x
@@ -122,13 +122,13 @@ A
on a remote host may be quoted (using \e, ", or \(aa)
so that the metacharacters are interpreted remotely.
.Pp
-.Nm rcp
+.Nm
does not prompt for passwords; it performs remote execution
via
.Xr rsh 1 ,
and requires the same authorization.
.Pp
-.Nm rcp
+.Nm
handles third party copies, where neither source nor target files
are on the current machine.
.Sh SEE ALSO
@@ -138,11 +138,11 @@ are on the current machine.
.Xr rsh 1
.Sh HISTORY
The
-.Nm rcp
+.Nm
utility appeared in
.Bx 4.2 .
The version of
-.Nm rcp
+.Nm
described here
has been reimplemented with Kerberos in
.Bx 4.3 Reno .