Sample Header Ad - 728x90

Search for occurrences of text in a long line in less

3 votes
1 answer
959 views
I am using less to view a file with many long lines. less automatically wraps these lines, but when I use / and n to search for something, it only shows the first occurrence of the text on a line. However, I want to see all occurences of the search result on the wrapped line.
Asked by asmeurer (341 rep)
Mar 1, 2016, 09:58 PM
Last activity: Nov 23, 2024, 10:27 AM