Timeline for Search for a string at proximity with another string?
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 29 at 16:24 | comment | added | Dee Newcum | This general functionality is useful to have, regardless of how matches are depicted. I will take anything at this point. One could imagine several different ways of presenting matches, but since the functionality described didn't exist at all before this (at the CLI, in a clear and obvious way, at least), then the specific format matters less. | |
| Oct 7, 2023 at 11:51 | vote | accept | achhainsan | ||
| Oct 2, 2023 at 18:04 | comment | added | Ed Morton | Please edit your question to include statements of requirements for multiple matches, overlapping ranges, start/end on the same line, regexp metachars treatment, substrings treatment, etc. and sample input/output that covers your requirements so we can best help you. See how-do-i-find-the-text-that-matches-a-pattern for more info on some of that. | |
| Oct 2, 2023 at 16:59 | answer | added | Ed Morton | timeline score: 0 | |
| Sep 21, 2023 at 13:34 | comment | added | AdminBee | When asked for clarifications, please edit your question to include the answers. For text-processing questions like this one, be sure to provide a (possibly anonymized) example of the log file you want to process, the search strings, and what the output should look like for your example input. | |
| Sep 19, 2023 at 8:27 | comment | added | achhainsan | 1) There is a log file named application.log 2) When I do proximity search and such holds true: a) either show me the file only in that case b) let it be a way to highlight those search terms and view them 3) My files are general log files in .log file (normal text file). | |
| Sep 19, 2023 at 7:06 | answer | added | Olivier Dulac | timeline score: 1 | |
| Sep 19, 2023 at 6:58 | comment | added | Kusalananda♦ |
Do you want a yes/no answer, the line that contains 123456789 if it's within 10 lines of a line containing the substring firstname, or the other way around? Is your data in some common format, like JSON, YAML, CSV, XML or other?
|
|
| Sep 19, 2023 at 4:03 | review | Close votes | |||
| Oct 20, 2023 at 3:06 | |||||
| Sep 19, 2023 at 3:45 | comment | added | Gilles Quénot | It's still unclear what is the output. You can keep your sentence, but provide the expected output. | |
| Sep 19, 2023 at 3:34 | history | edited | achhainsan | CC BY-SA 4.0 |
added 14 characters in body
|
| Sep 19, 2023 at 3:31 | history | edited | achhainsan | CC BY-SA 4.0 |
added 201 characters in body
|
| Sep 19, 2023 at 3:30 | history | asked | achhainsan | CC BY-SA 4.0 |