This script can delete blank lines from a text document and copy the result to clipboard.
Pass file in first argument and if you want, the line to beginning.
python DeleteBlankLines.py someText.css 300
This will delete all blank lines in someText.css from line 300 to end and copy the result to clipboard.
- Test in Linux and MacOS