On Wed, 13 Oct 2021 16:46:20 +0000
dep <dep(a)drippingwithirony.com> wrote:
said E. Liddell:
| On Wed, 13 Oct 2021 14:33:37 +0000
| Some of the tests are . . . not everything they
could be, let's say.
|
| Unless you've gone a long time between updates, very little of this
| script is likely to be applicable to your system.
The offending entry was, three times, kde-noatun. I keep my system up to
date -- so why would it have been there? When was there a program by that
name? There's surely no time, ever, when I would have that but no other
kde- applications, so why would that one alone have survived in the menu
file (though not in the menu)?
noatun is part of the multimedia package, and might have used kde-noatun
as a .desktop file name at some point (likely the pre-14.0 days).
That being said, test 9 is a raw grep being performed on an XML file. This
means that it could easily be latching onto something in a comment, because
following the full XML spec for determining whether a given line is inside a
comment or not using a simple text-matching tool is . . . well, let's say it isn't
something I'd want to try, and I deal in regexes a fair amount in my day job.
It really needs to be run through a full parser that constructs a DOM tree.
The command in test 9 (slightly modified to remove a variable) is:
grep "<Filename>kde-"
"~/.config/menus/applications-tdemenuedit.menu"
If that still shows any hits, it should be possible to sed them to death
(or kedit them to death, if that's your preference).
E. Liddell