- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Can anyone let me know what is the delimiter to pa...
Operating System - Linux
1753253
Members
4244
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2008 11:06 PM
тАО01-08-2008 11:06 PM
Can anyone let me know what is the delimiter to pass '{' to unix from RFT??
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)? ....i tried \\,\b,\t,\f,\r...
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} } '
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)? ....i tried \\,\b,\t,\f,\r...
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2008 05:32 AM
тАО01-09-2008 05:32 AM
Re: Can anyone let me know what is the delimiter to pass '{' to unix from RFT??
try to prepand the $ sign with backslash so that it'll look like this:
awk '{ if(index(\$0, "rmk")> 0) {count++} if(count>1) { print \$0} } '
awk '{ if(index(\$0, "rmk")> 0) {count++} if(count>1) { print \$0} } '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-09-2008 09:45 PM
тАО01-09-2008 09:45 PM
Re: Can anyone let me know what is the delimiter to pass '{' to unix from RFT??
Thank you for your quick reply....but i guess you might not have understood my question correctly........the function i'm using is PuTTYwindow().inputKeys("awk '{ if(index($0, "rmk")> 0) {count++} if(count>1) { print $0} } ' ");
...I'm able to pass a delimiter to the whole command except to the '{'...that's where it throws me errors.....any more suggestions??
...I'm able to pass a delimiter to the whole command except to the '{'...that's where it throws me errors.....any more suggestions??
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP