Search Results

Search: Posts Made By: murugaperumal
14,009
Posted By murugaperumal
Remove Blank Lines
Dear Friend,

You can use the following code, to delete the blank lines from a file

The file contains the following content
welcome1

welcome2

welcome3


sed -i -e '/^$/D' file ...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 10:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy