I just wanted to add that as far as I know this is standard behavior. It is consistent in bash, dash (the closest thing to a POSIX shell I've seen), zsh, and even the heavily nonstandard csh.

It seems to be quite extended too, to the point that some scripts rely on that behavior. For example, in Tcl (where the \ does continue the comment) this kind of comment is often used to trick the shell and run tclsh.

So the good news is that this doesn't need to be handled specially for zsh only, but for shell scripts in general, so once Scintilla fixes the bug Geany won't need to do anything weird.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.