Bug 33392

Summary: egrep mode in ding shows egrep warning
Product: Mageia Reporter: Dan Fandrich <dan>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal CC: andrewsfarm, geiger.david68210, sysadmin-bugs
Version: 9Keywords: advisory, validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA9-64-OK
Source RPM: ding-1.9-2.mga9.src.rpm CVE:
Status comment:

Description Dan Fandrich 2024-07-11 07:15:31 CEST
Description of problem:
When ding is configured for egrep mode (as opposed to internal_search mode) searching for a word not in the dictionary returns the single line:

egrep: warning: egrep is obsolescent; using grep -E

This line also appears for many searches that *are* in the dictionary, appearing in a seemingly random line amongst the legitimate word output.

Version-Release number of selected component (if applicable):
ding-1.9-2.mga9

How reproducible:
Always for words not in the dictionary, usually for other words

Steps to Reproduce:
1. Configure egrep mode in Preferences→Search Preferences
2. Search for a word (legitimate or not)
Comment 1 David GEIGER 2024-07-11 17:50:52 CEST
Should be fixed in ding-1.9-3.mga10 for Cauldron!

CC: (none) => geiger.david68210

Comment 2 Lewis Smith 2024-07-11 20:29:30 CEST
@Dan
This complaint "egrep: warning: egrep is obsolescent; using grep -E" pops up all over the place, and will gradually disappear as dependant applications get changed accordingly. Like DavidG has done here for 'ding' (Cauldron).

Assigning to you David for M9, as the bug is for that.

Assignee: bugsquad => geiger.david68210
Whiteboard: (none) => MGA10TOO

Comment 3 David GEIGER 2024-07-12 05:14:51 CEST
Assigning to QA,

Package in 9/Core/Updates_testing:
=====================
ding-1.9-2.1.mga9.noarch.rpm

From SRPMS:
ding-1.9-2.1.mga9.src.rpm

Assignee: geiger.david68210 => qa-bugs

David GEIGER 2024-07-12 05:15:11 CEST

Whiteboard: MGA10TOO => (none)

Comment 4 Dan Fandrich 2024-07-12 05:50:43 CEST
ding-1.9-2.1.mga9 doesn't work any better than ding-1.9-2.mga9 for me. I still see "egrep: warning: egrep is obsolescent; using grep -E" in egrep mode.
Comment 5 David GEIGER 2024-07-12 06:33:51 CEST
Strange! tested on Cauldron I don't see any warnings
Comment 6 David GEIGER 2024-07-12 06:40:11 CEST
Maybe you have to delete your ~/.dingrc config file
Comment 7 Dan Fandrich 2024-07-13 08:51:22 CEST
Deleting ~/.dingrc fixed it. Thanks!
katnatek 2024-07-13 17:41:29 CEST

Whiteboard: (none) => MGA9-64-OK
CC: (none) => andrewsfarm

katnatek 2024-07-13 17:48:21 CEST

Keywords: (none) => advisory

Comment 8 Dan Fandrich 2024-07-13 19:07:26 CEST
The advisory should probably have a note about deleting .dingrc because otherwise nobody who installs the upgrade to fix the problem will actually see it go away.
Comment 9 katnatek 2024-07-13 20:25:21 CEST
(In reply to Dan Fandrich from comment #8)
> The advisory should probably have a note about deleting .dingrc because
> otherwise nobody who installs the upgrade to fix the problem will actually
> see it go away.

Added a note
Comment 10 Thomas Andrews 2024-07-14 02:45:56 CEST
Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 11 Mageia Robot 2024-07-14 07:24:27 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0163.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED