[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LI
From: |
Rainer Canavan |
Subject: |
bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists |
Date: |
Tue, 30 Nov 2021 00:20:12 +0100 |
On November 27, 2021 9:41:07 AM GMT+01:00, Paul Eggert <eggert@cs.ucla.edu>
wrote:
>On 11/25/21 15:10, Warren Parad wrote:
>> except mv(1) and cp(1) are both "FROM" and then "TO", but ln is backwards
>> from thi, it is "TO" then "FROM"
>
>No, ln is exactly like mv and cp here: the source is the first argument,
>and the destination is the second.
>
>If this isn't clear, perhaps we should make the documentation clearer;
>but we shouldn't change ln's behavior, as many people and programs rely
>on the current behavior, and the current behavior is more logical once
>you understand how file systems work.
Just as an anecdote, for me personally the confusion about source and
destination had its primary source in the way ls -l displays links as dest ->
src. Since the direction of that arrow has been the same since basically
forever, I don't think that should be changed, so I don't have any suggestions
how this could possibly be "fixed".
Regards,
Rainer
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, (continued)
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Kamil Dudka, 2021/11/26
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Paul Eggert, 2021/11/27
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Ulf Zibis, 2021/11/29
- bug#52176: Problem with email list tags, Ulf Zibis, 2021/11/29
- bug#52176: Problem with email list tags, Bob Proulx, 2021/11/29
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Paul Eggert, 2021/11/29
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Chris Elvidge, 2021/11/29
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Bob Proulx, 2021/11/29
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Bob Proulx, 2021/11/29
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Paul Eggert, 2021/11/30
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists,
Rainer Canavan <=
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Bob Proulx, 2021/11/28
- bug#52115: Suggestion: LN command should swap TARGET and LINK_NAME if LINK_NAME already exists, Chris Elvidge, 2021/11/29