use of RUNCMD


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting use of RUNCMD
# 1  
Old 08-28-2008
Bug use of RUNCMD

Hi,

I want to know the use of RUNCMD.
I have a script and in that this RUNCMD used as

"export RUNCMD=${RUNCMD-cobrun}"
echo $RUNCMD

Can anyone please explain me, how the above statement works and
what will be the value of varialbe RUNCMD?

Thanks,
Srilaxmi
# 2  
Old 08-28-2008
${var-value} expands to the value of $var if it's set, otherwise to "value". This will be documented in the manual page for your shell.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question