Find all files with the extension ".sh" and pipe them to xargs to run the sed command to replace all numbers with the same number followed by a new line.
find . -name '*.sh' | xargs sed -i 's/[0-9]/&\n/g'