Bug 188008

Summary: [patch] rm(1): Better(?) rm -If behavior (and other combination between -I, -i, and -f)
Product: Base System Reporter: Edho Arief <edho>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me CC: me
Priority: Normal Keywords: patch
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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

Do
- Set Status to "Open"
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:40:17 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>