Search Results

Search: Posts Made By: alexsuv
Forum: UNIX and Linux Applications 10-03-2011
3,817
Posted By alexsuv
Ok, I figured it out. the ^I represents the tab....
Ok, I figured it out. the ^I represents the tab. So this one worked for me:

sed '/\t$/d' file-with-empty-lines > no-empty-lines

---------- Post updated at 05:34 PM ---------- Previous update...
Forum: UNIX and Linux Applications 10-03-2011
3,817
Posted By alexsuv
remove all blank lines
When I 'vi' my test file I see some blank lines. However once I do :set list to display hidden characters, I see the empty lines literally like this:

^I$





How do I remove them? I cannot...
Showing results 1 to 2 of 2

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