Gentoo Archives: gentoo-dev

From: Drake Wyrm <wyrm@×××××.com>
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:34:31
Message-Id: 20060617063127.GB20106@phaenix.haell.com
In Reply to: Re: [gentoo-dev] variable quoting, setting optional variables to "", and depending on virtual/libc by "Harald van Dijk"
1 Harald van D??k <truedfx@g.o> wrote:
2 > Any is fine, there is no word splitting or wildcard expansion in
3 > shell variable assignments.
4
5 $ foo="bar * baz"
6 $ wombat=$foo
7 $ echo $wombat
8 bar somedir somefile baz
9
10
11 --
12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 ^ A unix signature isn't a return address, it's the ASCII equivalent of ^
14 ^ a black velvet clown painting. It's a rectangle of carets surrounding ^
15 ^ a quote from a literary giant of weeniedom like Heinlein or Dr. Who. ^
16 ^ -- Chris Maeda ^
17 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Replies