Re: egrep

Hi, Pavel!

>It shows the line next after the matched line.  Should be trivial to fix.

Very strange. It worked fine for me.

>I would rather increment the line number outside get_line_at()
It is not right for binary files with a lot of null-terminated chunks without trailing newline.
But viewer/editor interprets only newline as end-of-line character.

>A comment before get_line_at() would be nice too.  The mechanism for
>skipping zeroes doesn't look trivial to be left uncommented.

Ok, but it seems I have not time for these this week ;-(



Играй в шахматы в Интернет на! 

Play chess on !

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]