You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
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.
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 ...
tomv -i ...
, all uses ofcp ...
tocp -i ...
and all uses ofrm [-rf] ...
torm -i [-rf] ...
or even bettertrash-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 commandtrash-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 text was updated successfully, but these errors were encountered: