tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: realpath(1) import proposal



Hello Kamil,

Kamil Rytarowski writes:
> I propose to import realpath(1) from FreeBSD.
>
> It is a small program with less than 100 LOC.
>
> https://github.com/freebsd/freebsd/tree/master/bin/realpath
>
> The FreeBSD version works as-is (after patching __FBSDID and __dead2).
>
> realpath(1) is a part of coreutils on Linux and sometimes programs use
> it unconditionally, especially vlc in build rules. Avoiding coreutils
> for just a single program is a win.
>

At least after skimming the man page - except for the no argument
different semantic - couldn't `readlink -vf' be used instead?


Home | Main Index | Thread Index | Old Index