Linux Tricks: 3 Cool Ways to Remove Blank Lines from Text Files
sed -i '//d' file
awk filename 'NF'
tr -s '/
' file name
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