On 02/07/2018 05:36 AM, darken wrote: > 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?
Because the shell expands the wildcard (into multiple arguments if necessary) before the command runs. The quotes tell the shell how to treat the string, they're not passed on to the command. Rob _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
