Gentoo Archives: gentoo-dev

From: Jeroen Roovers <jer@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: New eclass: xdg-basedir
Date: Thu, 30 Jan 2014 14:45:51
Message-Id: 20140130154539.6e4d7d02@marga.jer-c2.orkz.net
In Reply to: [gentoo-dev] Re: New eclass: xdg-basedir by Ulrich Mueller
1 On Thu, 30 Jan 2014 14:03:52 +0100
2 Ulrich Mueller <ulm@g.o> wrote:
3
4 > It may be little known, but strictly speaking, hyphens in bash
5 > identifiers are illegal:
6 >
7 > `name'
8 > A `word' consisting solely of letters, numbers, and underscores,
9 > and beginning with a letter or underscore. `Name's are used as
10 > shell variable and function names. Also referred to as an
11 > `identifier'.
12
13 That looks wrong for all kinds of reasons and it is directly
14 contradicted in the same document and in the source code.
15
16 But we digress... :)
17
18
19 Regards,
20 jer

Replies