>From the Sucv3 description of mv, at 
http://www.opengroup.org/onlinepubs/007904975/utilities/mv.html

"3. If the destination path exists, and it is a file of type directory
and source_file is not a file of type directory, or it is a file not of
type directory and source_file is a file of type directory, mv shall
write a diagnostic message to standard error, do nothing more with the
current source_file, and go on to any remaining source_files."

With mv from GNU coreutils-5.2.0 the following will succeed.

# touch foo
# mkdir bar
# mv foo bar

However the destination path is of type directory, and source_file is
not a directory, so for GNU mv to be SuSv3 compliant it should complain.

I didnt see anything documenting this difference in behaviour, im not
sure if its intentional or not.


Glenn 


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to