Roberto E. Vargas Caballero 0df8cdc12d rm: Add -i and cleanup rm()
POSIX mandates that if the input of rm is a tty and it does not have
write rights over a file/dir then it should ask for confirmation, in
the same way that is done with the -i flag. To accomodate both things
the code has been rearrenged a bit to have only one case instead of
having two. Also, this rework adds the error message when a directory
is removed without a -r flag.
2025-04-24 09:27:59 +02:00
..
2025-04-20 09:20:02 +02:00
2025-04-22 13:57:36 +02:00
2015-02-11 01:17:21 +00:00
2025-04-20 09:20:02 +02:00
2015-09-30 19:44:10 +01:00
2014-11-17 16:48:34 +00:00
2015-10-26 16:53:28 +00:00
2019-12-31 13:39:08 -08:00
2016-07-09 10:09:50 +01:00
2014-11-17 16:48:34 +00:00
2025-03-17 14:32:36 +01:00
2019-04-16 17:41:39 -07:00
2025-04-24 09:27:59 +02:00
2014-11-17 16:48:34 +00:00
2016-02-24 10:15:16 +00:00
2016-02-24 10:15:16 +00:00
2016-02-24 10:15:16 +00:00
2016-02-24 10:15:16 +00:00
2015-09-30 19:44:10 +01:00
2015-03-17 11:24:49 +01:00
2015-03-17 11:24:49 +01:00
2015-01-25 17:48:11 +00:00