I am so tempted to use profanity at this moment.
I needed to write a batch conversion script to convert the entries from my old website to a way that is readable by the new blogOhm engine.
So I opened one of my current scripts intending to use it as reference.
Then I doodled off for a while. I came back, and did the modifications on the current script itself. And of course, I didn't realize until I hit ESC-:-w-q-return. D'oh. And I don't have a backup yet of the tools.
I just managed to rewrite most of the portions that I cut out. But it is still missing a functionality or two. And the menu got all screwed up. So mad at my own stupidity at this moment.
So, the first thing I did after creating a working fix is tar -cjf scripts.tar.bz2 *.sh to put away a tar archive of a minimally working version of the scripts so I don't have to worry about doing something as stupid again.