Date: Fri, 25 Feb 2022 09:33:19 +0000
From: "Geoff Clare via austin-group-l at The Open Group"
<[email protected]>
Message-ID: <20220225093319.GA15607@localhost>
| Would you (or whoever maintains realpath for NetBSD)
It was added about 2 years ago ("is used in some scripts") and
hasn't been touched since ... no specific maintainer, and the
guy who added it hasn't been very active recently (other life
issues or projects I guess).
| be willing to add a -E option that makes your version behave like
| the coreutils default?
No specific objection from me currently, but I will find a man
page for that one (coreutils is in pkgsrc I think, so that should
be easy) and see what looks reasonable, then ask other NetBSD
developers. Almost anything might be possible.
| The alternative would be to go back to the original plan of just adding
| readlink (with the -f option for canonicalisation).
I'm not sure what the missing functionality in our realpath is
that makes readlink -f more attractive/practical for this purpose,
but I will see if I can find out...
| I assume that if NetBSD added -E, FreeBSD would have no problem with
| picking up that change.
It would be easier for them to do, I guess, but just because we
do doesn't mean they automatically copy (or vice versa).
Still this utility looks little known/used enough in the BSD world
that anything might be possible. We have "there's no point being
different, so be compat with linux" and "came from linux, must be
crap" points of view, and almost everything between.
kre