Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add ln -t #143
What's your use case here?
I ask because you're the first person to want this flag. It's not in posix (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ln.html (or LSB https://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/cmdbehav.html) and busybox is 20 years old and still doesn't have this flag, presumably because nobody's ever asked them for it?
I'm happy to add features people need, but filling them in just because they're not there is "infrastructure in search of a user". (If a user for such a thing ever does show up, there's no guarantee the feature meets their needs, and it's gone untested in the tree for long enough it may have bit-rotted anyway as the context of the project (and kernel, and libc, and compiler) shifted under it.
Since it's just as easy to add the thing later when there's a real user to provide immediate feedback, I kinda want to know the use case so I can at least add a real-world-inspired test to the test suite.
It's used by my distro for this: https://git.archlinux.org/svntogit/packages.git/tree/trunk/update-ca-trust?h=packages/ca-certificates and it's used within the build system for iwd. I can't think of other specific examples off the top of my head but I'm pretty sure there have been 1 or 2 other scripts that make use of it that I either had to modify or not use because of the