Wow, after 25 years of Unix experience, I learned that you can filter output in #less.
Press ampersand (&) and enter a regex to show only lines matching the regex.
Press ampersand (&) and then exclamation mark (!) to apply an inverse filter.
Wow, after 25 years of Unix experience, I learned that you can filter output in #less.
Press ampersand (&) and enter a regex to show only lines matching the regex.
Press ampersand (&) and then exclamation mark (!) to apply an inverse filter.
@wolf480pl For grep, consider using the -C switch (context):
-C NUM, -NUM, --context=NUMPrint NUM lines of output context. Places a line containing a group separator (--) between contiguous groups of matches. With the -o or --only-matching option, this has no effect and a warning is given.@xhr@cybervillains.com