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 solution - awk / sed, you name it.
Thanks!
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 solution - awk / sed, you name it.
Thanks!