How to escape $ in shell() command so it will not be substituted with empty strings
#2823
-
|
Hello. I could not find any info how to escape I've tried using but those do not work. Am I missing something here or is there no way to escape Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
If you are using a
... looks like it should work without hacky ways to make the |
Beta Was this translation helpful? Give feedback.
just'sshell()function does not have special parsing of the$character, so however a literal$does or doesn't need to be escaped is up to the shell. What shell are you using for this justfile?If you are using a
bash-like shell, your original example...... looks like it should work without hacky ways to make the
'{print $2}'have a literal$2😕