rn takes pairs of files, like cp.

This commit is contained in:
phil
2019-10-30 02:12:48 -04:00
parent 364736a4a7
commit 1fb8cedb1d
2 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ DESCRIPTION Files are taken in pairs; the first is opened
.sp .sp
FILES -- FILES --
.sp .sp
SEE ALSO cat, pr SEE ALSO cat, pr, rn
.sp .sp
DIAGNOSTICS Error returns are checked at every system call, DIAGNOSTICS Error returns are checked at every system call,
and appropriate diagnostics are produced. and appropriate diagnostics are produced.
+5 -8
View File
@@ -1,21 +1,18 @@
.oh '11/3/70''RN(I)' .oh '11/3/70''RN(I)'
.ta 18 31 .ta 18 31
NAME rn -- rename a file NAME rn -- rename files
.sp .sp
SYNOPSIS SYNOPSIS
.ul .ul
rn rn
name1 name2 from1 to1 [ from2 to2 ... ]
.sp .sp
DESCRIPTION DESCRIPTION Files are taken in pairs; The file from1
.ul is renamed to to1, and so on...
mv
changes the name of name with the rename
system call.
.sp .sp
FILES -- FILES --
.sp .sp
SEE ALSO -- SEE ALSO cp
.sp .sp
DIAGNOSTICS DIAGNOSTICS
"? file" - either unable to remove or create "? file" - either unable to remove or create