Send to a Friend

robmandu's avatar

What's the worst single line of code/script/command you have ever written/seen?

Asked by robmandu (21331points) January 21st, 2008

Mine was just before homework was due for a C++ programming course, and in unix, I tried to rename all of ”.cc” file suffixes to ”.C” using the following shell command:

mv *.cc *.C

(Can you tell I was self-taught on DOS 1.0?)

Anyway, that was five minutes before class… needless to say I got zero credit for that one. Six hours of my life gone.

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.