Honored Contributor Honored Contributor
Re: Flush a file keeping last 10 lines
Well, that would work, but you said in your initial post:

>>without use any other temporary file ?

Your solution is using a temp file.