perl -le '@nToM=(shift..shift); print join(",",@nToM);' 1 10