Bug 101330

Summary: man page for mv(1) is misleading
Product: Documentation Reporter: Peter Gildea <peter>
Component: Books & ArticlesAssignee: Pav Lucistnik <pav>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Peter Gildea 2006-08-03 21:30:18 UTC

    
Comment 1 Giorgos Keramidas freebsd_committer freebsd_triage 2006-08-12 20:31:46 UTC
On 2006-08-03 13:25, Peter Gildea <peter@gildea.com> wrote:
> mv(1) contains the sentence:
> "It is an error for either the source operand or the destination path
> to specify a directory unless both do.

> Remove this sentence from man page.

I think what the manpage tries to state is that you can:

    - move a file to a file
    - move a file to a directory
    - move a directory inside another directory

but you cannot

    - move a directory on top of a non-directory object.

Perhaps, we should remove it and write something like the above
text?
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-12 23:01:10 UTC
State Changed
From-To: open->closed

I have replaced this line with much clearer one from NetBSD version of this man 
page.
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-05-12 23:18:33 UTC
pav         2007-05-12 22:18:27 UTC

  FreeBSD src repository (doc,ports committer)

  Modified files:
    bin/mv               mv.1 
  Log:
  Replace a fairly opaque sentence with a much clearer wording from NetBSD.
  
  PR:             docs/101330 (inspired by)
  Submitted by:   Peter Gildea <peter@gildea.com>
  Obtained from:  NetBSD
  
  Revision  Changes    Path
  1.29      +2 -2      src/bin/mv/mv.1
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-12 23:20:17 UTC
State Changed
From-To: closed->patched

MFC reminder 


Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-12 23:20:17 UTC
Responsible Changed
From-To: freebsd-doc->pav

MFC reminder
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-24 23:52:53 UTC
State Changed
From-To: patched->closed

MFC'ed.