How to get X lines back with a streamreader?

You can look at the PSCX Get-FileTail implementation here but it doesn't handle Unicode at all. And I'm sure there are other ways it could stand to be improved. :-) Suggestions are welcome.

Thanks to Christian and Keith for your tips. Finally I've decided just to get backward in the streamreader until it returns enough readline(). I let the possibility to specify the codepage and seems to be ok with unicode.

Here is the code if anyone is interested in.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions