perl -ne'$b.=$_;/./||next;print$b;$b=""' your-file
In reply to Re: How to remove newline characters at the end of file
by JavaFan
in thread How to remove newline characters at the end of file
by ashokpj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |