Re: how do I feed a script conf file variables on the command line ?

2005-11-24 Thread Giorgos Keramidas
On 2005-11-25 02:11, user <[EMAIL PROTECTED]> wrote: > Ok, let's say I have a shell script named script.sh, and > script.sh sucks in a file /etc/file.conf that contains nothing > but variable declarations like: > > SETTING1=setting1 > SETTING2=setting2 > > and so on. Very simple. > > My question i

how do I feed a script conf file variables on the command line ?

2005-11-24 Thread user
Ok, let's say I have a shell script named script.sh, and script.sh sucks in a file /etc/file.conf that contains nothing but variable declarations like: SETTING1=setting1 SETTING2=setting2 and so on. Very simple. My question is, what if I want to feed the script a setting on the command line ?