I’m trying to write a script to switch two lines in a file, and for some
reason am having difficulty grokking it.
I have an ugly start, which I’ll post if you want, but it’s over thirty
lines long and still doesn’t work. I’m sure there is a very short, very
simple, very Ruby solution to this, and I’m sure one of you has it.
So I’m going to cheat and ask you guys.