diff options
Diffstat (limited to 'bin/mv/mv.1')
-rw-r--r-- | bin/mv/mv.1 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/mv/mv.1 b/bin/mv/mv.1 index 3518c695e50..0953ab5af8d 100644 --- a/bin/mv/mv.1 +++ b/bin/mv/mv.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mv.1,v 1.14 2001/12/21 11:41:49 mpech Exp $ +.\" $OpenBSD: mv.1,v 1.15 2002/02/11 18:43:51 mpech Exp $ .\" $NetBSD: mv.1,v 1.8 1995/03/21 09:06:51 cgd Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -116,7 +116,7 @@ and to accomplish the move. The effect is equivalent to: .Bd -literal -offset indent -rm -f destination_path && \e +$ rm -f destination_path && \e \tcp -pr source_file destination && \e \trm -rf source_file .Ed @@ -125,7 +125,7 @@ The .Nm utility exits 0 on success or >0 if an error occurred. .Sh EXAMPLES -.Cm mv -f foo bar +.Cm $ mv -f foo bar .Pp Rename file .Pa foo @@ -135,8 +135,9 @@ overwriting .Pa bar if it already exists. .Pp -.Cm mv -i -- -f bar , -.Cm mv -i ./-f bar +.Cm $ mv -i -- -f bar +.br +.Cm $ mv -i ./-f bar .Pp Either of these commands will rename the file .Pa -f |