I just noticed the following find applet behavior with regards to wildcards. I don't think it's a bug as it shows in all find applets, but I'm puzzled by what is happening.
It seems that when using wildcards and the search results contain a wildcard match that contains a dash, then find uses the result as argument option? Why? ~Matthias ``` sailfish:/sdcard $ find --version toybox 0.7.4-android sailfish:/sdcard $ find . -iname *data find: bad arg 'sleep-data' 1|sailfish:/sdcard $ find . -iname "*data" ./Android/data ./data ./sleep-data ./Documents/sleep-data sailfish:/storage/emulated/0 # find . -iname *droid ./Android sailfish:/storage/emulated/0 # /data/local/tmp/busybox-armv6l find . -iname *data find: unrecognized: sleep-data BusyBox v1.26.2 (2017-01-11 08:43:16 UTC) multi-call binary. darken@greendns:~/test$ find --version find (GNU findutils) 4.7.0-git darken@greendns:~/test$ mkdir -p Android/data darken@greendns:~/test$ mkdir data darken@greendns:~/test$ mkdir sleep-data darken@greendns:~/test$ mkdir -p Documents/sleep-data darken@greendns:~/test$ find . -iname *data find: paths must precede expression: sleep-data ```
_______________________________________________ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net