From 1fb8cedb1d0a5bde6b6d99e435945c6bf7591f90 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 30 Oct 2019 02:12:48 -0400 Subject: [PATCH] rn takes pairs of files, like cp. --- man/cp.1 | 2 +- man/rn.1 | 13 +++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/man/cp.1 b/man/cp.1 index ad15f1c..7d0a8dd 100644 --- a/man/cp.1 +++ b/man/cp.1 @@ -13,7 +13,7 @@ DESCRIPTION Files are taken in pairs; the first is opened .sp FILES -- .sp -SEE ALSO cat, pr +SEE ALSO cat, pr, rn .sp DIAGNOSTICS Error returns are checked at every system call, and appropriate diagnostics are produced. diff --git a/man/rn.1 b/man/rn.1 index f8b56a0..94d8434 100644 --- a/man/rn.1 +++ b/man/rn.1 @@ -1,21 +1,18 @@ .oh '11/3/70''RN(I)' .ta 18 31 -NAME rn -- rename a file +NAME rn -- rename files .sp SYNOPSIS .ul rn -name1 name2 +from1 to1 [ from2 to2 ... ] .sp -DESCRIPTION -.ul -mv -changes the name of name with the rename - system call. +DESCRIPTION Files are taken in pairs; The file from1 + is renamed to to1, and so on... .sp FILES -- .sp -SEE ALSO -- +SEE ALSO cp .sp DIAGNOSTICS "? file" - either unable to remove or create