#!/bin/bash

if [[ -n $2 ]]
then
    tsvtools view -l "$1" "$2"
else
    tsvtools view -l 1000 "$1"
fi
