On Fri, Feb 25, 2022 at 1:30 PM Thorsten Glaser <[email protected]> wrote:

> enh via austin-group-l at The Open Group dixit:
>
> >> OK, I did.   Note that we're talking of options for realpath(1), not
> >> readlink(1).   It looks as if the toybox version (from what I can gather
> >> from what I guess from that very stylised code) has no options to
> realpath
> >> at all - and that it is simply a clone of readlink -f, just as Steffen
> >> indicated the busybox version is.
> >
> >correct.
>
> But useless as most Android scripts would get mksh’s realpath
> if called without any options…
>

didn't i disable that, to avoid such confusion?

yeah:
https://cs.android.com/android/platform/superproject/+/master:external/mksh/src/funcs.c;l=130?q=realpath%20file:mksh

(you're right in principle, though: this will be true for sufficiently old
versions of Android.)


> (some custom Android ROMs add busybox or GNU bash, but that’s
> thankfully become rare)
>
> bye,
> //mirabilos
> --
> 22:20⎜<asarch> The crazy that persists in his craziness becomes a master
> 22:21⎜<asarch> And the distance between the craziness and geniality is
> only measured by the success 18:35⎜<asarch> "Psychotics are consistently
> inconsistent. The essence of sanity is to be inconsistently inconsistent
>

Reply via email to