On Tuesday, August 09, 2005 at 13:25, Brian Hall wrote:
> The order of the arguments passed my imv doesn't work:
>
> > strace imv setup-gentoo-chroot
> execve("/usr/bin/mv", ["mv", "setup-gentoo-chroot", "--",
> "setup-gentoo-chroot.sh"], [/* 68 vars */]) = 0
> uname({sys="Linux", node="syrinx", ...}) = 0
>
> mv: when moving multiple files, last argument must be a directory
> Try `mv --help' for more information.
How can the above execve-call lead to the error message above?
I cannot explain that, other than that mv thinks "--" is a file
of itself. My mv from coreutils 5.2.1 doesn't do that, not even
if there's a local file "--".
imv is a wrapper for the mv command that allows the second argument
(destination file) to be edited using readline.
Regards,
Oskar Liljeblad ([EMAIL PROTECTED])
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils