On Tue, Jul 16, 2024, at 3:47 AM, David Hedlund wrote:
> Do you think that it would be appropriate to submit this feature request
> to the developers of the rm command instead.
How would this help? The rm utility cannot change the working directory of the
shell that invokes it, or of any other process. Even if it could, that
wouldn't help you if a different utility/application did the unlinking.
(Never mind that there are no canonical "developers of the rm command". GNU is
not the only implementation in the world.)
> For comparision, caja (file manager in MATE) is stepping back as many
> directories as needed when it is located in a directory that is deleted
> in bash or caja.
Behavior that is appropriate for GUI applications is not necessarily
appropriate for CLI utilities, and vice versa. The comparison is inapt.
--
vq