Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
quoting inline args
System
I have this inline element in my DCT:
<inline command='/tmp/test.ipl 1 "2 two" 3'/>
The script contains only:
open( FILE, '>/tmp/file.txt' );
foreach my ${arg} ( @{ARGV} )
{
print FILE ${arg} . "\n";
}
close( FILE );
After running this the file contains:
1
"2
two"
3
Why the linefeed? It's like it treats the quotes as part of the arguments. I have tried a few quoting options but nothing seems to work.
Find more posts tagged with
Comments
There are no comments yet