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