How can I search for newlines (or end of lines) as part of a search using less?
For example, I'd like to search for
length=9\n, but don't want to merely search for
length==9 because that'd get matches for
I'm using GNU bash, version 4.0.33(1)-release (x86_64-pc-linux-gnu) on Ubuntu 9.10 (Karmic Koala)
I tried reading the friendly manual, but it said
Search forward in the file for the N-th line containing the pattern. N defaults to 1. The pattern is a regular expression, as recognized by the regular expression library supplied by your system. The search starts at the second line displayed (but see the -a and -j options, which change this).
and I don't know how to RTFM beyond that.