GNU bug report logs - #47703
Mention if ln -s needs -r, or ln -r needs -s

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 11 Apr 2021 05:43:04 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at submit <at> debbugs.gnu.org (full text, mbox):

From: L A Walsh <coreutils <at> tlinx.org>
To: Coreutils <bug-coreutils <at> gnu.org>, 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>,
 Pádraig Brady <P <at> draigBrady.com>
Subject: Re: 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
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





This bug report was last modified 4 years and 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.