remove trailing whitespace
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
.Ar file... directory
|
||||
.Sh DESCRIPTION
|
||||
.Nm rcp
|
||||
copies files between machines. Each file argument is either a remote file name of the form
|
||||
copies files between machines. Each file argument is either a remote file name of the form
|
||||
.Dq rname@rhost:path
|
||||
or a local file (containing no colon or with a slash before the first
|
||||
colon).
|
||||
@@ -25,11 +25,11 @@ colon).
|
||||
Supported options:
|
||||
.Bl -tag -width Ds
|
||||
.It Xo
|
||||
.Fl 4 ,
|
||||
.Fl 5 ,
|
||||
.Fl K ,
|
||||
.Fl F ,
|
||||
.Fl x ,
|
||||
.Fl 4 ,
|
||||
.Fl 5 ,
|
||||
.Fl K ,
|
||||
.Fl F ,
|
||||
.Fl x ,
|
||||
.Fl z
|
||||
.Xc
|
||||
These options are passed on to
|
||||
@@ -37,7 +37,7 @@ These options are passed on to
|
||||
.It Fl P Ar port
|
||||
This will pass the option
|
||||
.Fl p Ar port
|
||||
to
|
||||
to
|
||||
.Xr rsh 1 .
|
||||
.It Fl p
|
||||
Preserve file permissions.
|
||||
@@ -58,7 +58,7 @@ connection".
|
||||
.\".Sh SEE ALSO
|
||||
.\".Sh STANDARDS
|
||||
.Sh HISTORY
|
||||
The
|
||||
The
|
||||
.Nm rcp
|
||||
utility first appeared in 4.2BSD. This version is derived from
|
||||
4.3BSD-Reno.
|
||||
|
@@ -101,7 +101,7 @@ main(int argc, char **argv)
|
||||
print_version (NULL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
iamremote = (fflag || tflag);
|
||||
|
||||
argc -= optind;
|
||||
@@ -384,7 +384,7 @@ rsource(char *name, struct stat *statp)
|
||||
}
|
||||
}
|
||||
snprintf(path, sizeof(path),
|
||||
"D%04o %d %s\n",
|
||||
"D%04o %d %s\n",
|
||||
(unsigned int)(statp->st_mode & MODEMASK), 0, last);
|
||||
write(remout, path, strlen(path));
|
||||
if (response() < 0) {
|
||||
|
Reference in New Issue
Block a user