https://bugs.kde.org/show_bug.cgi?id=459381
Bug ID: 459381 Summary: KDialog odd behavior escaping exclamation mark Classification: Unclassified Product: kdialog Version: 22.08.1 Platform: Neon OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: br...@frogmouth.net Reporter: sadiyumu...@gmail.com Target Milestone: --- SUMMARY *** KDialog displays escaped exclamation mark from terminal but not from a shell script. *** STEPS TO REPRODUCE 1. Enter a terminal command like this: kdialog --title "Conversion" --passivepopup "The file has been \"converted\" now\!" 2. Copy and paste this command into an empty executable shell script file, and run the script file from the terminal. OBSERVED RESULT 1. Terminal command results in this message text, as expected: The file has been "converted" now! 2. The script, however, results in this message text: The file has been "converted" now\! Additionally, the following terminal message appears: Unrecognized escape sequence \! EXPECTED RESULT Escaping the exclamation mark like other characters (e.g. double quotation mark) should work in script files as well as entering it directly in terminal. SOFTWARE/OS VERSIONS Operating System: KDE neon 5.25 KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 -- You are receiving this mail because: You are watching all bug changes.