Redirect stdout to stderr when using scan or mark.
Also support something like `first:+5' or `last:-5'.