Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@olback That's bad already. But read closer :) What if there is only the first arg? READ CLOSER :)
-
I can only shake my head at this script.
Some people just want to watch the world burn... -
@R01101111bert no, but I tried drawing a blue rectangle and a green circle on a sheet of paper. Imagine my surprise when that didn't work...
/s -
visudo9997yI remember this being in Steam
rm -rf “$STEAMROOT/“*
Of course, in some usecase of reinstalling the app or moving directories, the variable does not exist.
Guess how i got to know this bug exists... ;)
https://steamcommunity.com/discussi...
Related Rants
-
l0om44100% Real. And it's not even the worst on the site.
-
Codazed11Being 100% serious, I saw a guy in my Computer Programming I class using MS Word to write code that he would c...
-
dfox8I worked with a good dev at one of my previous jobs, but one of his faults was that he was a bit scattered and...
#!/bin/sh
# Application X deployment script
## some code ##
function sudo_remove {
directory=$1
filename=$2
sudo /bin/rm -rf $directry/$filename
}
### some more code using function above ##
>400 servers completely corrupted. Twice in one week.
Who can spot it? :)
rant
wk99