Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
submit
System
Hi,
I have a question regarding iwsubmit.While i am submit to any to file to staging it is taking comment like this 'this is update about tpl'.
Actually i am trying use command line tool iwsubmit if i gave same comment for iwsubmit it is taking only 'this' remaining part is not coming. Any idea about this?
Thanx in advance
Find more posts tagged with
Comments
Migrateduser
Try putting the comment in quotes.
bagman
Can you post the full command you are trying to use?
Are you using the single quotes just like you put in the post?
Migrateduser
Thanx for ur reply
Here is command i am using
"iwsubmit -w -u -c $comment1 -i $comment2 $file1 $comment 3"
$comment3 = "this is updated on tpl".But i am getting output only this.
thanx
Migrateduser
right... the comments themselves must be enclosed in quotes I believe. try the following insteadl:
"iwsubmit -w -u -c \"$comment\"1 -i \"$comment2\" $file1 \"$comment3\""
Basicly add to your string literal quotation marks.
Migrateduser
Thanx for your reply.
I tried that still it isnot working.
It seems to be it is having problem with quotations.
akshathp
Can you try single quotes?
"iwsubmit -w -u -c
'
$comment1
'
-i
'
$comment2
'
$file1
'
$comment3
'
"
Akshat Pramod Sharma
Interwoven Inc.
Migrateduser
Thanx for all your hlep
It is working now.
Adam Stoller
Assuming this is Perl code - a nicer way to do this (for clean code) is:
qq(iwsubmit -w -u -c "$comment1" -i "$comment2" $file1 "$comment3");
Actually, you should probably be $file within quotes too, just in case someone is trying to process a file with spaces or some other non-expected character in its name.
--fish
(Interwoven Senior Technical Consultant)
Migrateduser
Thank you..