This discussion is archived
2 Replies Latest reply: May 15, 2013 12:48 AM by Indy Sandhu RSS

Custom Configuration: How to escape the $ character

Indy Sandhu Newbie
Currently Being Moderated

I have a custom configuration that is issuing a command similar to the one below, but when I preview it the result is of 0 bytes and looking at the OS Command issued in the previewer I can see a backslash character has been inserted before the $ character. I have tried escaping it with 2-3 further backslashes, but to no avail.

Original command:
ulimit -a | grep processes | awk '{print $5}'

Previewer command:
ulimit -a | grep processes | awk '{print \$5}'

The same problem exists if I then deploy the CCS to a target i.e. it's not just in the preview. Any ideas as to how to escape the $ character would be appreciated.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points