diff options
author | wosch <wosch@FreeBSD.org> | 1996-02-18 18:44:58 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1996-02-18 18:44:58 +0000 |
commit | ca465af3df8c4e6f751237d66fc017487093bb12 (patch) | |
tree | ec0d9a20b1d60ba2839257a98673256b0eb3673d /bin/mv/mv.1 | |
parent | ad8b686ee4868d4d62e9deb5c9d8b799888cc8dc (diff) | |
download | FreeBSD-src-ca465af3df8c4e6f751237d66fc017487093bb12.zip FreeBSD-src-ca465af3df8c4e6f751237d66fc017487093bb12.tar.gz |
option -f and -i are exclusive
all flag variables initialized with zero
respond `Y' is equal to `y'
update usage string
prompt only if source exist
ignore -i option if file descriptor stdin not refers to a valid
terminal type device
Diffstat (limited to 'bin/mv/mv.1')
-rw-r--r-- | bin/mv/mv.1 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/bin/mv/mv.1 b/bin/mv/mv.1 index 01c0f2b..eb9634f 100644 --- a/bin/mv/mv.1 +++ b/bin/mv/mv.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)mv.1 8.1 (Berkeley) 5/31/93 -.\" $Id: mv.1,v 1.2 1994/09/24 02:56:06 davidg Exp $ +.\" $Id: mv.1,v 1.3 1995/08/15 19:44:39 joerg Exp $ .\" .Dd May 31, 1993 .Dt MV 1 @@ -77,17 +77,25 @@ The following options are available: Do not prompt for confirmation before overwriting the destination path. (The -.Fl i -option is ignored if the .Fl f -option is specified.) +option overrides any previous +.Fl i +options.) .It Fl i Causes .Nm mv to write a prompt to standard error before moving a file that would overwrite an existing file. -If the response from the standard input begins with the character ``y'', +If the response from the standard input begins with the character +.Sq Li y +or +.Sq Li Y , the move is attempted. +(The +.Fl i +option overrides any previous +.Fl f +options.) .El .Pp It is an error for either the @@ -121,6 +129,7 @@ The utility exits 0 on success, and >0 if an error occurs. .Sh SEE ALSO .Xr cp 1 , +.Xr rm 1 , .Xr symlink 7 .Sh STANDARDS The |