Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2006 16:09:34 +0100 (BST)
From:      Jan Grant <jan.grant@bristol.ac.uk>
To:        James Long <list@museum.rain.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: man page bug in mv(1) ?
Message-ID:  <20060910160830.L30289@tribble.ilrt.bris.ac.uk>
In-Reply-To: <20060903173729.GA30869@ns.museum.rain.com>
References:  <20060903173729.GA30869@ns.museum.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 3 Sep 2006, James Long wrote:

> The man page mv(1) states:
> 
> "It is an error for either the source operand or the destination path 
> to specify a directory unless both do."
> 
> 
> However:
> 
> mv file /tmp/
> 
> works.  Am I reading things wrong, or is the man page incorrect?

The man page is correct, but a little misleading unless you read it 
carefully. The first two paragraphs of the description section define 
the term "destination path".


-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
Solution: (n) a watered-down version of something neat.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060910160830.L30289>