Linux Tricks: 3 Cool Ways to Remove Blank Lines from Text Files

HomeOther ContentLinux Tricks: 3 Cool Ways to Remove Blank Lines from Text Files
Linux Tricks: 3 Cool Ways to Remove Blank Lines from Text Files
Linux Tricks: 3 Cool Ways to Remove Blank Lines from Text Files
sed -i '//d' file
awk filename 'NF'
tr -s '/
' file name

Please take the opportunity to connect and share this video with your friends and family if you find it useful.

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *