#!/bin/bash

((N=$2 - $1 + 1))
head -$2 |tail -$N 
