perl -ni.bak -e "print $_ if /\w/;" my_file.txt
In reply to Re: Way to remove the new line characters at the end of the content in a file
by Laurent_R
in thread Way to remove the new line characters at the end of the content in a file
by shroh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |