Re:Diaspora-common: does 'rm -rf /' on purge
by tremon on Thursday March 23, 2017 @11:13AM
(#13940418)
I think the alternative being suggested is that rm shouldn't accept a string that magically can reference anything in the filesystem...
That suggestion fails to grasp the basics of Unix shells however: parameter expansion as well as globbing is performed by the shell, rm "sees" nothing but fully-expanded paths.
That suggestion fails to grasp the basics of Unix shells however: parameter expansion as well as globbing is performed by the shell, rm "sees" nothing but fully-expanded paths.