in reply to Re: Way to remove the new line characters at the end of the content in a file
in thread Way to remove the new line characters at the end of the content in a file

If there are only blank lines at the end of the file:
perl -lp00e1 file.txt
  • Comment on Re^2: Way to remove the new line characters at the end of the content in a file
  • Download Code