I have a file in which I need to remove all lines that are:
1) empty
2) contain nothing but tabs, spaces or combination thereof.
I've tried awk '/[:space:]/{print}'
which did remove lines with all tabs and spaces, but also removed a line with a data value embedded in tabs.
I'm open to any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.