In my file there are multiple new line char at EOF. I want to remove only new line char at end of file.
Line 1….\n Line2….\n \n Line3 …\n Line4….\n \n \n
Expected output
Line 1….\n Line2….\n \n Line3 …\n Line4….\n
Thanks in advance
In reply to How to remove newline characters at the end of file by ashokpj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |