How to use UNIX commands such as "cat" having redirection or pipe symbols like ";;, ;, |" in te external command activity.
book
Article ID: KB0086248
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Resolution: Description: ============ When using UNIX commands like "ls", "cat" will work fine when used directly in the command field. It will not throw an error while using redirection or pipe symbols like ">>, >, |"
Example:
cat file1.txt file2.txt >> file3.txt
Error:
<error>cat: Cannot open >>: No such file or directory
Environment: =========== TIBCO BusinessWorks UNIX, Solaris
Resolution: ========== Create a script file with commands and call the script file from the external command activity.
Issue/Introduction
How to use UNIX commands such as "cat" having redirection or pipe symbols like ";;, ;, |" in te external command activity.
Attachments
How to use UNIX commands such as "cat" having redirection or pipe symbols like ";;, ;, |" in te external command activity.
get_app