Solution problem


#1

my solution

startRange=head -1 input | grep -o '.*[0-9] ' | grep -o '.*[0-9]'
stopRange=head -1 input | grep -o ' .*[0-9]$' | grep -o '[0-9].*$'
delta=$(((stopRange+1)-startRange))
head -n $stopRange input | tail -n $delta