rn takes pairs of files, like cp.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user