How can I escape the pipeline variable characters `<<` in a run step?

My bash code has <<< in it but CircleCI tries to parse the first two << as the start of a pipeline variable. How can I escape this so the run step interprets the <<< as the bash here-string?

CircleCI output says ('<<' must be escaped as '\\<<' in config v2.1+) but I’ve tried \\<<< and it does not work

2 Likes

so I found the solution is just a single backslash \<<<

6 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.