Bug 188008 - [patch] rm(1): Better(?) rm -If behavior (and other combination between -I, -i, and -f)
Summary: [patch] rm(1): Better(?) rm -If behavior (and other combination between -I, -...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2014-03-27 04:30 UTC by Edho Arief
Modified: 2018-05-20 23:54 UTC (History)
1 user (show)

See Also:

file.diff (1.36 KB, patch)
2014-03-27 04:30 UTC, Edho Arief
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edho Arief 2014-03-27 04:30:00 UTC
Currently, -I flag is completely unrelated with -f and -i flag despite having similar purpose (interactivity). It's especially weird when using -If (expected: no prompt).

This patch changes the behavior so (-f|-i|-I) overrides each other flags (currently only between -i and -f).

Sorry if duplicate.

Fix: Patch attached with submission follows:
Comment 1 me 2017-06-20 19:36:23 UTC
Any way I can move this forward? Comments? Rejection? Anything? Anyone? Is there no one aliasing rm to `rm -I` and annoyed that `-f` doesn't override `-I`?
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2018-05-20 23:54:14 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

- Set Status to "Open"