Re: [tcljava-dev] doubt: using of 'expr' in Jacl
Brought to you by:
mdejong
From: raj k. <raj...@gm...> - 2006-08-01 10:19:32
|
Sorry, I seen your message delayed..... thanks for responding to my problem. I could solve my issue. cheers, rajjlakcshmi. On 4/12/06, Mo DeJong <md...@un...> wrote: > > On Tue, 11 Apr 2006 15:34:14 +0530 > "raj knowledge" <raj...@gm...> wrote: > > > $AdminApp edit my_webapp.war {-MapModulesToServers {{XXXX > > xxxx.war,WEB-INF/web.xml > > WebSphere:cluster=$ clusterName > > +WebSphere:cell=HD-CELLNUMBERCell02,node=$nodeName,server=$webserverName > }}} > > If you have vars that need to be evaluated, pass in double quotes: > > set name Bob > set word "My name is $name" > puts $word > > (The above will print: "My name is Bob") > > If you pass a brace quoted string then no $ subst will be done. > > set name Bob > set word {My name is $name} > puts $word > > (The above will print: "My name is $name") > > P.S. > The expr is for math expressions and has nothing to do with the problem > you are having. > > Mo DeJong > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > tcljava-dev mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-dev > |