print given range of lines using awk, perl, head, tail and python