I am old school, I have a DOS batch that copies a file created by another app from one location and drops it in another. The app adds a CR and an LF at the end of the text file. I need to remove the last CR and LF. The file transfer runs every night and the data size will vary. I know Perl could do this but I an to much of a novice with Perl. Can the good monks help me? Mike
In reply to delete last CR and LF from txt by mph151
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |