my lame attempt at a shell script...

Tom Vilot tom at
Thu Jan 6 20:00:47 PST 2005

Eric F Crist wrote:

> What is the point of the { } around some variables? 

It's not strictly necessary, except in some cases. i.e:


echo $m

You don't need it there.

But you would want it here:



It's when you need to differentiate the variable name from operations 
around it ... for want of a better explanation ....

More information about the freebsd-questions mailing list