News for hackers. Stuff that matters.
Re:Bug 1202858 – Restarting squid results in deleting all fi... by JoshTriplett on Tuesday March 24, 2015 @03:07AM (#9255229)
That won't actually help with rm -rf /* , only with rm -rf * in / or $HOME.
Re:Bug 1202858 – Restarting squid results in deleting all fi... by hk__2 on Tuesday March 24, 2015 @04:20AM (#9255394)
Would it work with `touch "/ -@"` (not the space)?
Re:Bug 1202858 – Restarting squid results in deleting all fi... by a3_nm on Tuesday March 24, 2015 @05:51AM (#9255629)
No, it doesn't work. "./*" expands to "./ -@" as a single field, which rm has no problems with. (Note that, however, this is still the globbing of the shell, as far as I understand.)
Re:Bug 1202858 – Restarting squid results in deleting all fi... by iso8859-1 on Tuesday March 24, 2015 @05:49AM (#9255621)
how would changing the filename fix it? it's a hack relying on the globbing of the shell. if you're not using the globbing, the hack can never help you.