Use echo to output blank lines and spaces to a file
Output empty lines:
echo " " >> temp (automatic line wrapping)
Output spaces:
echo -n " " >> temp (without newline)
Insert newline character
echo $'\n' >>file
Output empty lines:
echo " " >> temp (automatic line wrapping)
Output spaces:
echo -n " " >> temp (without newline)
echo $'\n' >>file