perl -lane 'print $F[1] if /start/../end/' -- somefile