Last N lines of a file containing a string

Now in 2022 with client 10.0.4, this works:

lines (integers in ((number of lines of it - 20),(number of lines of it))) of file "foo"

4 Likes