Re: Wishing rmdir had a prompt

2019-10-23 Thread sunnycemetery
On 2019-09-02 17:22, Bernhard Voelker wrote: Just recently I've been asked (off-list) why src/true.c needs to have 80+ lines while 3 lines would be enough. This piqued my curiosity. Obvious comment header, localization, and --{help,version} fluff aside, I was not aware of the

Re: Wishing rmdir had a prompt

2019-09-11 Thread Bernhard Voelker
On 9/11/19 10:29 AM, Lady Aleena wrote: I thank everyone who got involved with my little wish. I did not mean for it to explode like this. I am entirely comfortable letting the whole idea drop since there appears to be little to no support for it. I was just an idle wish that crossed my mind

Re: Wishing rmdir had a prompt

2019-09-11 Thread Lady Aleena
I thank everyone who got involved with my little wish. I did not mean for it to explode like this. I am entirely comfortable letting the whole idea drop since there appears to be little to no support for it. I was just an idle wish that crossed my mind that I wanted to share. Again, thank you

Re: Wishing rmdir had a prompt

2019-09-02 Thread Kaz Kylheku (Coreutils)
On 2019-09-02 01:03, Sami Kerola wrote: I am not a maintainer, but I don't see any problem adding --interactive long only option. Getting a short option may clash with future posix requirement, so I believe they are not handed out without really good reasons. Fear not; POSIX standardization

Re: Wishing rmdir had a prompt

2019-09-02 Thread Bernhard Voelker
On 9/2/19 10:03 AM, Sami Kerola wrote: [...] I don't see any problem adding --interactive long only option. a) Bloat: Apart from the --parents option, rmdir(1) is just a simple wrapper around rmdir(2). Just recently I've been asked (off-list) why src/true.c needs to have 80+ lines while 3

Re: Wishing rmdir had a prompt

2019-09-02 Thread Sami Kerola
On Mon, 2 Sep 2019 at 05:50, Kaz Kylheku (Coreutils) <962-396-1...@kylheku.com> wrote: > > On 2019-09-01 17:50, Leslie S Satenstein via GNU coreutils General > Discussion wrote: > > rmdir -i > > I don't see this in a fairly recent GNU Coreutils 8.28 installation. > Must be very new? I think '-i,

Re: Wishing rmdir had a prompt

2019-09-01 Thread Kaz Kylheku (Coreutils)
On 2019-09-01 17:50, Leslie S Satenstein via GNU coreutils General Discussion wrote: rmdir -i I don't see this in a fairly recent GNU Coreutils 8.28 installation. Must be very new? There is some justification for such a thing. Though it may seem that accidental deletion of empty

Re: Wishing rmdir had a prompt

2019-09-01 Thread Leslie S Satenstein via GNU coreutils General Discussion
rmdir -i Regards  Leslie Leslie Satenstein Montréal Québec, Canada On Sunday, September 1, 2019, 7:38:28 p.m. GMT-4, Lady Aleena wrote: Hello. I would love to see a -i added to rmdir to prompt me before removals of empty directories like rm has. It would give me another