https://bugs.kde.org/show_bug.cgi?id=431036

            Bug ID: 431036
           Summary: The syntax highlighting for BASH files didn't handle
                    backticks properly
           Product: kate
           Version: 20.12.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: proj...@schiermeier-it.de
  Target Milestone: ---

Created attachment 134439
  --> https://bugs.kde.org/attachment.cgi?id=134439&action=edit
Screenshot: syntax highlighting before and after the backticks

BASH: Syntax highlighting didn't handle backticks properly


STEPS TO REPRODUCE
In a BASH script which I wrote long time ago I have this line:

if  [ 0 -eq `id -u` ];

When I open this script with Kate the syntax highlighting for the rest of the
BASH file isn't realy conclusive. In other words: it is totally broken. This
was working properly before Kate twenty something appears. Now is not so nice -
or let me say: rubbish.

Backticks are old and busted in the BASH language but they are still working
and in a lot of our servers scripts present.


SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: 5.77.0
(available in About System)
KDE Plasma Version: 5.77.0
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2


This bug is a regression and similar to #430668.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to