Escape Double-quotes feature in macros

Advertisement

GoldenWolf
Guest

Escape Double-quotes feature in macros

This is my macro:

grep -r --include="!?Search in files?*.*!" "!?Search for?search text!" ./!

Well, if Search for has < " > symbols, they are should be < \" > (for example, if some flag is checked for this macro or with another syntax:

"!\?Search for?search text\!"

P.S. Sorry for my English :)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,246
Location:
Prague, Czechia

Re: Escape Double-quotes feature in macros

OK, I'll consider it.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum