Hacker News new | ask | show | jobs
by andsens 923 days ago
In that case whoever is linking the script is “breaking” it, I’d say. There’s stuff that is simply outside the responsibilities of the script/maintainer. If you start worrying about that for “simple” scripts, the logic for handling that is quickly going to outgrow the initial logic itself.
1 comments

Besides, hard links don't have a canonical target, they are all equally correct names for the file. So even if the script author wanted to support the same technique for hard links there is no reasonable way to do it.