A simple line-based text reader and editor for the command line. Inspired by what I've heard GNU Ed is like. Except I've never used GNU Ed. I just know it doesn't act like this.
Yeah, args aren't parsed that well. Basically I need to use need a better arg parser - maybe docopt. Not a priority, as long as people know to put the file first. (Several commands require this anyway.)
The following error is given:
Traceback (most recent call last):
File "./ocline", line 64, in
filefile.write("\n".join(filelines))
IOError: [Errno 9] Bad file descriptor