Efficiently finding the last line in a text file
61570
Get last n lines of a file, similar to tail
148417
How do i find out lines of a file that are not present in another file?
85220
What's the point in adding a new line to the end of a file?
20432
Processing lines from one text file to another
52489
Get the last line from each of a large number of files, transform them, and write all results to a single new file
67811
How do I move a line in a text file up or down by one line?
65417
How to get all lines between first and last occurrences of patterns?
101729
What's the best way to get the last N elements of a Perl array?
88828
Range of lines in file
13667
Print file content without the first and last lines
153858
What's the best way to return a random line in a text file using C?
36074
Grep lines between start & end pattern even end pattern in next file
42878
Sort a text file by line length including spaces
130719
How to print the longest line in a file?
4793
C++ deleting line of text in a file
76491
Have csv.reader tell when it is on the last line
44616
Returning last-written file, containing particular sub-string in file name?