Support selecting only a subset of lines

The option is called "--range". This would be useful for use in Vim.