On Mon, Oct 29, 2001 at 03:23:05PM -0700, Frank Tanner III <[EMAIL PROTECTED]> 
wrote:
| The variable ${DOMAINFILE} is declared as: DOMAINFILE=/path/to/*.domainfile

Do this instead:

        DOMAINFILE=`echo /path/to/*.domainfile`

Globbing isn't done in assignments, so you have to use backticks to run
an echo to do some globbing (well, the shell inside the backticks does
the globbing and the echo just reports the result).
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Sam Jones <[EMAIL PROTECTED]> on the Nine Types of User:

Princess (unfair, perhaps, as these tend, overwhelmingly, to be males) -
                "I need a Mac, and someone's got the one I like reserved,
                would you please garrote him and put him in the paper
                recycling bin?"
Advantages:     Flatters you with their high standards for your service.
Disadvantages:  Impresses you with their obliviousness to other people on
                this planet.
Symptoms:       Inability to communicate except by complaining.
Real Case:      One asked a scon to remove the message of the day because he
                (the user) didn't like it.



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to