Sample Header Ad - 728x90

using ripgrep with regex including literal dollar symbol

0 votes
1 answer
461 views
Suppose I have a script containing something like VAR=${VAR1%.*} I'm looking for a command along the lines of rg "${.*%" to find it, but I can't get anywhere near. all of these fail rg "\$\{.\*%" rg \$\{.\*% rg "\$\{.*%" rg \$\{.*%
Asked by njamescouk (3 rep)
Mar 26, 2024, 07:55 AM
Last activity: Mar 26, 2024, 08:33 AM