Fix regression in 80995da

Argument parsing changes in split.sh had to be incorporated into sort-lines.sh.