Skip to content

Remove empty lines using sed

find . -type f -name "app.pp" -exec sed -i '/^\s*$/d' {} \;

 

Leave a Reply

Your email address will not be published. Required fields are marked *

π