|
From: | Paul Eggert |
Subject: | bug#30907: mv return value. |
Date: | Thu, 22 Mar 2018 11:48:32 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 03/22/2018 10:02 AM, Jorgen Harmse wrote:
The documentation specifies the usual exit convention, but doesn’t say what counts as success. For example, I would like mv -i a b || (diff a b && rm a) to rename a if b does not exist and to remove a if they are identical, but it doesn’t work.
I'm afraid that's a bit vague. What wording change do you suggest?
[Prev in Thread] | Current Thread | [Next in Thread] |