bug-coreutils
[Top][All Lists]
Advanced

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

bug#47703: Same category as "ln <dir> <symdir>" (was: bug#47703: Mention


From: L A Walsh
Subject: bug#47703: Same category as "ln <dir> <symdir>" (was: bug#47703: Mention if ln -s needs -r, or ln -r needs -s)
Date: Thu, 29 Apr 2021 19:52:05 -0700
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

On 2021/04/11 07:21, Pádraig Brady wrote:
On 09/04/2021 12:46, 積丹尼 Dan Jacobson wrote:
man ln says:
        -r, --relative
               create symbolic links relative to link location
        -s, --symbolic
               make symbolic links instead of hard links
Hard to tell from the man page.
---
   Seems like another related example ignoring what the user wants and
issuing an error for an inexact usage.

   If you used "-r" by itself, or if you try linking a directory,
either without "-s", you get an error message, when it would be more
helpful to assume "-s" and give a diagnostic if "interactive" (assumption
being, that if it was in a script, it was obviously intended that way,
as any other way generates an error).

Fair point.
thanks, Pádraig






reply via email to

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