Re: Under Linux, "Find in Files" with a '$' character doesn't work
Neil Hodgson <[email protected]> Sun, 29 Sep 2024 23:03:54 -0700 (PDT)
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
Jingcheng Zhang: I cannot find a text with '$' in it, the result is invalid. But under windows it works correctly. Seems the '$' is hijacked by linux shell which makes the problem. How to solve? On Linux, the Find in Files command works by running another SciTE process with the text provided as a command-line argument. The '$' should be quoted with '\' to avoid shell interpretation so '\$'. This can be done in the Slash function. Another problem is that there is an extra layer of variable interpretation for $(variable) in SciTEBase::Execute that should be avoided for this case. It would likely be better to reimplement using threads instead of processes as is done for Windows and MacOS. Neil -- You received this message because you are subscribed to the Google Groups "scite-interest" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/20c006d0-604b-446e-a960-b97fb788ab9en%40googlegroups.com.