Project

General

Custom queries

Profile

Actions

Bug #20023

closed

Rudder language can not define variables containing the dollar sign

Added by Félix DALLIDET over 3 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

I tried to define a variable to define the dollar character, but I can not make it work.

let dollar_char = "$" 
let dollar_char = """$""" 
let dollar_char = "\$" 

None of them seem to work

Actions #1

Updated by Benoît PECCATTE over 3 years ago

$$ is the prefered method for rudder- language

${const.dollar} works for cfengine

But it emits a warning that could be removed

Actions #11

Updated by Alexis Mousset about 3 years ago

  • Status changed from New to Rejected

Closing for now as the language is on hold.

Actions

Also available in: Atom PDF