💻 Software
How do I include newlines in a search in less?
Fresh5 days ago
Mar 15, 20268244 viewsConfidence Score0%
0%
Problem
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 , but don't want to merely search for 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 readin…
Error Output
/pattern
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do I include newlines in a search in less?
Low Risk
You can do: The pattern replacing , but the must stay, it tells the search to look for the pattern, and then the end of the line. So you'd do:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix