Answers

Question and Answer:

  Home  Solaris

⟩ Delete blank lines in a file?

- cat sample.txt | grep -v ‘^$’ > new_sample.txt

 175 views

More Questions for you: