Hi,
I am using Rational Functional Tester Script as a front end testing tool to display a unix command "awk '{ if(index($0, "rmk")> 0) {count++} if(count>1) { print $0} } ' " onto a unix terminal window. I accomplish this by using PuTTYwindow().inputKeys("awk '{ if(index($0, "rmk")> 0) {count++} if(count>1) { print $0} } ' ");
For some reason this does not work,RFT (uses Javascript) throws me errors. When I narrowed the problem down it looks like I am not able to find a suitable delimiter for the character '{' while passing it to unix.
Can anyone let me know what is the delimiter to pass '{' to unix from Rational Functional Tester ( or javascript)?
Thanks,
Rhonda