From: | "Harald van Dijk" <truedfx@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] variable quoting, setting optional variables to "", and depending on virtual/libc | ||
Date: | Sat, 17 Jun 2006 06:48:05 | ||
Message-Id: | 20060617064647.GA3513@gentoo.org | ||
In Reply to: | Re: [gentoo-dev] variable quoting, setting optional variables to "", and depending on virtual/libc by Drake Wyrm |
1 | On Fri, Jun 16, 2006 at 11:31:27PM -0700, Drake Wyrm wrote: |
2 | > Harald van D??k <truedfx@g.o> wrote: |
3 | > > Any is fine, there is no word splitting or wildcard expansion in |
4 | > > shell variable assignments. |
5 | > |
6 | > $ foo="bar * baz" |
7 | > $ wombat=$foo |
8 | > $ echo $wombat |
9 | > bar somedir somefile baz |
10 | |
11 | The wildcard expansion is not during the variable assignment, it's |
12 | during the expansion of $wombat. Just try echo "$wombat" instead. |
13 | -- |
14 | gentoo-dev@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-dev] variable quoting, setting optional variables to "", and depending on virtual/libc | Drake Wyrm <wyrm@×××××.com> |