[Github-comments] [geany/geany] false continuation of comment following " \ " (#2715)

cousteau notifications at xxxxx
Thu Sep 23 09:43:27 UTC 2021


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](https://wiki.tcl-lang.org/page/Tcl+Style+Guide#e36409f3b7db7eef854e2fe30892a32ac82375fca6fa03cc737be63bcb192ac0).

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 or view it on GitHub:
https://github.com/geany/geany/issues/2715#issuecomment-925657150
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210923/456b2601/attachment.htm>


More information about the Github-comments mailing list