Adding backslash escapes to find.command

Chris Angelico <[email protected]> Fri, 9 May 2025 04:19:55 -0700 (PDT)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
------=_Part_78720_1147685589.1746789595997
Content-Type: multipart/alternative; 
	boundary="----=_Part_78721_377215496.1746789595997"

------=_Part_78721_377215496.1746789595997
Content-Type: text/plain; charset="UTF-8"

I have search-across-files done with this:

find.command=git -C "$(find.directory)" grep -n "$(find.what)" -- 
"$(find.files)"

This works for everything that doesn't include a double quote. Is there a 
way to request that find.what be backslash escaped before incorporating it 
into the command?

ChrisA / Rosuav

-- 
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 visit https://groups.google.com/d/msgid/scite-interest/96072336-dae5-4fc7-9091-43ae5f85dd63n%40googlegroups.com.

------=_Part_78721_377215496.1746789595997
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I have search-across-files done with this:<div><br /></div><div>find.comman=
d=3Dgit -C "$(find.directory)" grep -n "$(find.what)" -- "$(find.files)"<br=
 /></div><div><br /></div><div>This works for everything that doesn't inclu=
de a double quote. Is there a way to request that find.what be backslash es=
caped before incorporating it into the command?</div><div><br /></div><div>=
ChrisA / Rosuav</div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;scite-interest&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">scit=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
scite-interest/96072336-dae5-4fc7-9091-43ae5f85dd63n%40googlegroups.com?utm=
_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/scit=
e-interest/96072336-dae5-4fc7-9091-43ae5f85dd63n%40googlegroups.com</a>.<br=
 />

------=_Part_78721_377215496.1746789595997--

------=_Part_78720_1147685589.1746789595997--