Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to fix syslog-ng warning about escaped regexp
Date: Thu, 02 May 2019 09:36:53
Message-Id: m336lxkxkv.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] how to fix syslog-ng warning about escaped regexp by Stefan Schmiedl
1 On Wed, 01 May 2019 15:11:48 -0400,
2 Stefan Schmiedl wrote:
3 >
4 > [1 <text/plain; us-ascii (quoted-printable)>]
5 > [2 <text/html; us-ascii (quoted-printable)>]
6 > Re: [gentoo-user] how to fix syslog-ng warning about escaped regexp
7 >
8 > "Neil Bothwick" <neil@××××××××××.uk>, 01.05.2019, 19:33:
9 >
10 > > On Wed, 01 May 2019 07:23:50 -0400, John Covici wrote:
11 >
12 > >> > > Hi. Since my last update I get the following warning when syslog-ng
13 > >> > > runs:
14 > >> > > awk: cmd. line:130: warning: regexp escape sequence `\"' is not a
15 > >> > > known regexp operator
16 > >> > >
17 > >> > > I could find nothing at bgo or a google search, so I am wondering if
18 > >> > > anyone knows how to fix this problem? I am running version 3.20.1
19 > >> > > and perl version 5.28.2.
20 > >> > >
21 > >> > > Thanks in advance for any suggestions.
22 > >> >
23 > >> > I was getting this from the makewhatis cron job in man. The solution
24 > >> > was to replace man, which is deprecated, with man-db.
25 > >>
26 > >> How would this help my problem as I am getting nothing from
27 > >> makewhatis?
28 >
29 > > What program is producing the log entries? Or is it syslog-ng itself that
30 > > is doing so?
31 >
32 > Nope, the "faulty" program is /usr/sbin/makewhatis, line 363, where a " is
33 > escaped for awk, which the new awk 5 does not need.
34 >
35
36 OK, getting man-db has fixed the problem -- thanks all.
37
38
39 --
40 Your life is like a penny. You're going to lose it. The question is:
41 How do
42 you spend it?
43
44 John Covici wb2una
45 covici@××××××××××.com