Commit | Line | Data |
---|---|---|
e4c4b514 KT |
1 | .th CP I 1/24/73 |
2 | .sh NAME | |
3 | cp \*- copy | |
4 | .sh SYNOPSIS | |
5 | .bd cp | |
6 | file1 file2 | |
7 | .sh DESCRIPTION | |
8 | The | |
9 | first file is copied onto the second. | |
10 | The mode and owner of the target file | |
11 | are preserved if it already | |
12 | existed; the mode of the source file | |
13 | is used otherwise. | |
14 | .s3 | |
15 | If | |
16 | .it file2 | |
17 | is a directory, then the target | |
18 | file is a file in that directory with the file-name | |
19 | of | |
20 | .it file1. | |
21 | .sh "SEE ALSO" | |
22 | cat(I), pr(I), mv(I) | |
23 | .sh BUGS | |
24 | Copying | |
25 | a file onto itself destroys its contents. |