It looks like coreutils and busybox allow only 2 args with -T. Do we need
to diagnose this?

touch A B
ln -sfT A B L
ln: extra operand 'L'

busybox ln -sfT A B L
ln: -T accepts 2 args max

toybox ln -sfT A B L
ls -l L
lrwxrwxrwx 1 rprichard primarygroup 1 Sep 25 13:38 L -> B

With this patch, ln is overwriting the symlink twice, leaving it pointing
at B.

-Ryan


On Wed, Sep 25, 2019 at 1:21 PM Jarno Mäkipää <jmaki...@gmail.com> wrote:

> Added: -T
> Replaced: & flag_# with FLAG(#)
>
> There was feature request on github. Apparently there is some android
> scripts with ln -sfT
>
>
> -Jarno
> _______________________________________________
> Toybox mailing list
> Toybox@lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to