bug#46723: Feature request: Add -i option to rmdir

2021-02-23 Thread John Wiersba via GNU coreutils Bug Reports
Please add a -i option to rmdir, similar to the -i toption (interactive prompt) for mv and rm.  It would be useful for the same reasons as it is useful for rm and mv.  I know there are workarounds, but all these commands should support -i for consistency. Thanks!-- John Wiersba

bug#45700: rm should not prompt if ! isatty(2)

2021-01-06 Thread John Wiersba via GNU coreutils Bug Reports
iersba via GNU coreutils Bug Reports wrote: > $ touch asdf && chmod a-w asdf && rm asdf 2>&1 | catrm: remove > write-protected regular empty file 'asdf'?  # should*not*  prompt > > If the prompt cannot be seen, then it can't be properly answered, so there

bug#45700: rm should not prompt if ! isatty(2)

2021-01-06 Thread John Wiersba via GNU coreutils Bug Reports
$ /bin/rm --version rm (GNU coreutils) 8.30 $ uname -a Linux xxx 5.4.0-59-generic #65-Ubuntu SMP Thu Dec 10 12:01:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID:    Linuxmint Description:    Linux Mint 20 Release:    20 Codename: