Slurp the entire file and substitute \n.*?$
UPDATED: ok, i see, this is a different question than "remove the last line of the file".
Slurp the entire file and print $OUTFILE ^.*?125\sSIL
In reply to Re: removing lines that are in the end of a file
by pvaldes
in thread removing lines that are in the end of a file
by bhargavkanakiya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |