Ah, indeed, tabs are accepted too.

I have refactored this part slightly to make it clearer, by first trying `cmd, rest = line.split(None, 1)` on each line. Will push after I finish the other fixes.