Move documentation instances of recommanded usage of dangerous command line commands to less dangerous ones.
The unix-like shell commands mv, cp amd rm are dangerous in the sense that if you use them on data you don't intend to loose you might loose that very same data.
My idea: move all documentation uses of mv ... to mv -i ..., all uses of cp ... to cp -i ... and all uses of rm [-rf] ... to rm -i [-rf] ... or even better trash-put .... The commands with the -i option are interactive in the sense that the user is explicitally asked before overwriting or deleting anything. The last command trash-put is better in the sense that it moves the data to the temporary trash folder instead of instantly deleting it. trash-put is supplied as a python package in many Linux distributions.
The dangerous command are everywhere in the documentation. I believe they should be replaced with their non-dangerouse counterparts.
Just my 2 cents. Thank you for reading.
The dangerous command are everywhere in the documentation.
I'm unable to find a single instance of any of these commands in the documentation. Can you point out one or two of these for me? Or perhaps you mean documentation somewhere else? Perhaps I am misunderstanding your request.
In this repo main page at the default page in README.md below Hosting your own copy of the MathJax Components there are instances of mv ... instead of mv -i ... and rm -rf ... instead of rm -irf or trash-put.
OK, thanks. You're right, I didn't check the README file here (only the documentation I linked to above (and the demos repositories). Sure, they can be changed.