Sometimes while using FTP one may find the script files transferred to have additional blank lines, which could make the script clumsy and messy to read or modify. Here is a simple code to remove Blank Lines in Script Files.
Note :
Please take a backup of original script or text file.
This code makes no distinction between intentional blank line and the lines that have been appended when transferring via FTP.