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