The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-28-2006
vgirijanaidu vgirijanaidu is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 2
{} in shell programming

Could someone please tell me what {} mean when they surround a variable?

For instance,

$FILE = 'basename $1' //what is passed into this script
$BANK = 'dirname $1'
$INFILE = ${FILE}.${BANK}.$$

What does $INFILE contain after this assignment?

Please let me know
Thanks
G