bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: renameutils 0.6.0


From: Oskar Liljeblad
Subject: Re: renameutils 0.6.0
Date: Thu, 11 Aug 2005 07:39:53 +0200
User-agent: Mutt/1.5.9i

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 (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]