None, given that context. However, consider.
test="t1"
testtest="t2"
print "this is the $testtest"
Would output:
This is the t2
While:
print "this is the ${test}test"
Would output:
This is the t1test
So:
If you have directories:
longdirectoryname1
longdirectoryname2
and a var:
d=longdirectoryname
You'd think you could do this, to go to the first directory:
MAILDIR=$d1
Unfortunately, you couldn't, because the "1" is taken to be part of the
variable name, and there is no "d1" variable, or if there is, it has some
unexpected meaning.
What you really wanted was:
MAILDIR=${d}1
Which will expand to:
longdirectoryname1
Now, there are many more things you can do with braces, so RTFM.
While you're at it, look up braces in the variable expansion section of
the bash manual page--this stuff is common there, and you should at least
have a basic idea of bashisms, to use procmail.
Regards,
Luke
On Mon, 7 Oct 2002, Robin Lynn Frank wrote:
I note in the procmail man files, this form is used:
MAILDIR=$HOME/Mail
I noticed in spambouncer 1.6 beta the following:
MAILDIR=${HOME}/Mail
Can someone give me a hint as to what the difference is, if any?
Thanks.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail