* Doug McGarrett <dmcgarrett@optonline.net> [09-08-20 14:12]:
On 9/8/20 6:37 AM, Dave Howorth 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, then I will have two, possibly different, lgreps? Sounds too confusing to me!
yes, and you *really* need neither. better zypper -v rm lgrep and be back where you were. note: must happen as "root" and must be typed as presented here. Answer "yes". -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org