On Tue, 8 Sep 2020 14:05:27 -0400 Doug McGarrett <dmcgarrett@optonline.net> wrote:
On Mon, 7 Sep 2020 23:46:53 +0200 (CEST) "Carlos E. R." <robin.listas@telefonica.net> wrote:
El 2020-09-07 a las 14:30 -0700, Lew Wolfgang escribió:
On 9/7/20 2:13 PM, Dave Howorth wrote:
On Mon, 7 Sep 2020 13:53:18 -0700 Lew Wolfgang <> wrote:
On 9/7/20 12:49 PM, Doug McGarrett wrote: > If you look at the original post, it was lgrep, which didn't > work. Then I ran grep -i etc. having looked up > grep in "Linux in a Nutshell" my Linux reference book. But it > turns out there actually is an lgrep in > the system, and I installed it and ran it with the same result--nada. I didn't know about lgrep either. It's apparently a grep optimized for looking at logs. We're never to old to learn... What makes you think that?
According to https://manpages.debian.org/stretch/lv/lgrep.1 "lv also provides multilingual grep (1) functionality by giving it another name, lgrep" https://github.com/olmeca/lgrep
lgrep
"A variation on grep, targeting log files"
"lgrep is a variation on grep, developed specifically for efficient searching through application log files. Though most of the time an entry in a log file consists of one line, sometimes it spans multiple lines. A log entry usually consists of some metadata (e.g date, time, code reference) and a message. Sometimes the message part takes up multiple lines, e.g. if it contains a whole JSON object or a whole stack trace." Interesting. So there are two different versions of lgrep. And none is found on our repos.
<https://software.opensuse.org/search?utf8=%E2%9C%93&baseproject=openSUSE%3ALeap%3A15.1&q=lgrep> Yes, it seems there are two different programs, both called lgrep, that do different things.
But the one that Doug installed and that I linked to a manpage for is indeed in our repositories as part of the lv package,as cnf tells you:
$ cnf lgrep
The program 'lgrep' can be found in the following package: * lv [ path: /usr/bin/lgrep, repository: zypp (repo-oss) ]
Try installing with: sudo zypper install lv I already have the lgrep that I installed as above. If I install lv,
On 9/8/20 6:37 AM, Dave Howorth wrote: then I will have two, possibly different, lgreps? Sounds too confusing to me! --doug
Doug, reread your own mails and check what you installed!!! And nobody is suggesting that you install lgrep again anyway, some people are suggesting you remove the copy you do have! Oh, and please don't send me extra copies of your emails. I can read them on the list just fine. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org