man page bug in mv(1) ?

Jan Grant jan.grant at bristol.ac.uk
Sun Sep 10 08:09:52 PDT 2006


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.


More information about the freebsd-questions mailing list