[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Handling with BASH variables



On Tuesday, September 25, 2001 1:17 PM, rasa@gmx.ch wrote

> BTW: what is the difference between $KDEDIR and
> ${KDEDIR}? When is wich used?

They refer to the same data.  The braces form is to
seprate the variable from the context.  For example:

rename $fname $fnamebackup   # is ambiguous, 

rename $fname ${fname}backup  # is not.


  -g






Reply to: