perl -pe 's/(\d+)-(\d+)/join " ", $1..$2/ge'