Remove Empty Lines
We can remove empty lines from the output using grep
in following ways -
Option 1
Option 2
This can be used to make things simple, and easy if Windows line-endings aren't concerned.
Source: StackOverFlow
Last updated