[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10458: 24.0.92; ! in dired on a file starting with a hyphen
From: |
Lars Ingebrigtsen |
Subject: |
bug#10458: 24.0.92; ! in dired on a file starting with a hyphen |
Date: |
Sun, 20 Feb 2022 15:31:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> 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
bug#10458: 24.0.92; ! in dired on a file starting with a hyphen, Stefan Monnier, 2022/02/20