bug-coreutils
[Top][All Lists]
Advanced

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

bug#26971: mv -v output ordering looks impossible


From: Eric Blake
Subject: bug#26971: mv -v output ordering looks impossible
Date: Thu, 18 May 2017 10:03:57 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 05/18/2017 09:41 AM, Paul Eggert wrote:

> 
> If we're changing the format, I suggest having the output be useful as
> input to the shell, like this:
> 
> $ src/mv -v /tmp/mv-test .
> mkdir './mv-test'

If we do this, you'd probably want to use:

mkdir -- './mv-test'

at least when the destination directory being moved into starts with -
rather than './'.  You also have to be sure that the quoting style is
shell-appropriate (is that always the case currently, or can environment
preferences for quoting cause something that is not shell-valid?).

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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