Re: Handling with BASH variables

2001-09-25 Thread Dimitri Maziuk
* Raffaele Sandrini ([EMAIL PROTECTED]) spake thusly: ... > BTW: what is the difference between $KDEDIR and ${KDEDIR}? When is wich used? RTFM. Ok, ${FOO}bar means variable $FOO followed by "bar", $FOObar means variable $FOObar. Capisce? Dima -- I'm going to exit now since you don't want me to

Re: Handling with BASH variables

2001-09-25 Thread Greg Wiley
On Tuesday, September 25, 2001 1:17 PM, [EMAIL PROTECTED] 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,

Re: Handling with BASH variables

2001-09-25 Thread dman
On Tue, Sep 25, 2001 at 08:24:12PM +0200, Raffaele Sandrini wrote: | Hi, | | I have a problem with bash vars. For my KDE copileing stuff i have made some | files wich contain the "configure" command so that i can easily alter it and | that i can remember wich options i used. E.g. there is a file

Re: Handling with BASH variables

2001-09-25 Thread Raffaele Sandrini
> it > > > takes the string "$KDEDIR". How can i bring BASH to take KDEDIR as a > > variable? > > I think what you are saying is you want to put > a line: ./configure --prefix=${KDEDIR} --enable-final ... > in your conf_kdelibs file and then have the main script > execute that (and other ) lines i

Re: Handling with BASH variables

2001-09-25 Thread Greg Wiley
On Tuesday, September 25, 2001 11:24 AM, [EMAIL PROTECTED] >[...] there is a file "conf_kdelibs" > the file contais that line: > ./confugure --prefix=/opt/kde --enable-final ... > Now i want to set for the prefix /opt/kde the $KDEDIR variable. > This "conf_kdelibs" file is called by my compile

Handling with BASH variables

2001-09-25 Thread Raffaele Sandrini
Hi, I have a problem with bash vars. For my KDE copileing stuff i have made some files wich contain the "configure" command so that i can easily alter it and that i can remember wich options i used. E.g. there is a file "conf_kdelibs" the file contais that line: ./confugure --prefix=/opt/kde --