Subject: Re: bug#10458: 24.0.92; ! in dired on a file starting with a hyphen

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 20 Feb 2022 15:31:56 +0100

Eli Zaretskii <[email-masked]> writes:

> Here:
>
>    find /foo/bar -name %f
>
> I think substituting "./bar" for %f has different semantics that
> "bar", doesn't it?

Hm, right.  I guess that's a possible command somebody could use (even
though it doesn't work well in general (if you've ticked several files)).

But note that it doesn't replace "bar" with "./bar" -- it only does this
if the file name starts with "-".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no