gusl: (Default)
[personal profile] gusl
A question for systems people:

If a plain-text log-file gets too big to be openable by emacs (in my case 379MB), how can I search through it? Is it possible to chop such a file into several pieces?

grep works, but it doesn't let me see the context surrounding my hits.

UPDATE: grep -An -Bn pattern file seems to find n lines before and after each hit. Still, not as good as a text editor...
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

February 2020

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags