Hi, Job Snijders wrote on Sun, Jun 25, 2017 at 02:06:16PM +0200:
> This patch adds a '-v' option to rm(1) for more verbose output. Do not add new options to standard utilities, unless you can show that they are unusually useful in practice *and* practically every other system out there has them, with a compatible user interface across practically all systems. Adding -v to rm(1) probably wouldn't make the very high bar against adding non-standard options even if almost everybody else had it (which i didn't check, to not waste time) because it's completely useless. If you are really unsure, study the output of $ find * first, before typing $ rm -rf * No non-standard option is needed at all for this. It's also strongly in violation of the UNIX philosophy (each utility, do one thing, and do it well). rm(1) removes files, and does so well. rm(1) does *not* trespass on ls(1) and find(1) territory to list files. Besides, they way your proposed rm(1) extension lists files is not doing it well at all. The output is awful. Yours, Ingo > $ mkdir a; touch a/b; touch c > $ rm -rfv * > removed 'a/b' > removed directory 'a' > removed 'c'