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
..
2017-07-14 07:50:47 +02:00
2025-04-20 09:20:02 +02:00
2025-04-22 13:57:36 +02:00
2017-07-03 21:04:14 +02:00
2015-02-11 01:17:21 +00:00
2015-11-13 14:31:34 +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
2023-04-12 21:09:12 -07:00
2015-10-26 16:53:28 +00:00
2019-12-31 13:39:08 -08:00
2015-04-29 16:42:49 +01:00
2016-07-09 10:09:50 +01:00
2014-11-17 16:48:34 +00:00
2016-03-10 08:48:09 +00:00
2017-07-03 21:03:11 +02:00
2025-03-17 14:32:36 +01:00
2015-11-26 10:35:46 +00:00
2015-04-21 18:00:47 +01:00
2019-04-16 17:41:39 -07:00
2020-06-20 18:48:14 -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:40:57 +00:00
2016-02-24 10:40:57 +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
2023-09-22 11:44:58 +02:00
2015-01-25 17:48:11 +00:00
2015-02-09 22:21:23 +01:00
2025-04-23 21:10:51 +02:00
2017-07-03 21:04:12 +02:00