How do I remove an extra line in Unix?

How do I remove an extra line in Unix?
Answer
Use the grep command to delete empty lines.
  1. Use the awk command to delete empty lines in the file. …
  2. Use the sed command to delete empty lines in the file. …
  3. Use the grep command to delete empty lines in the file.
28 апр. 2020 г.
 

Tìm kiếm

Back
Top