1 |
Hello List |
2 |
|
3 |
It's your favourite posix shell lover here, asking for your honest |
4 |
opinions. |
5 |
|
6 |
array="1.2.3.4 netmask 5.6.7.8; |
7 |
\* |
8 |
'host.name' netmask 1.2.3.4 |
9 |
-I 'option; $FOO with spaces' |
10 |
" |
11 |
|
12 |
array=("1.2.3.4 netmask 5.6.7.8;" |
13 |
"\*" |
14 |
"'host.name' netmask 1.2.3.4" |
15 |
"-I 'option; $FOO with spaces'" |
16 |
) |
17 |
|
18 |
array="'1.2.3.4 netmask 5.6.7.8;' \ |
19 |
'\*' \ |
20 |
\"'host.name' netmask 1.2.3.4\" \ |
21 |
\"-I 'option; $FOO with spaces'\" |
22 |
" |
23 |
|
24 |
The first and last are of course posix constructs whilst the middle is |
25 |
bash. |
26 |
|
27 |
The bash one is purely there for reference, and of course you can still |
28 |
use it if /bin/sh is bash. The last one is what baselayout-2 currently |
29 |
uses and I'm wondering if we should switch to the first one before we |
30 |
come out of package.mask. |
31 |
|
32 |
I'm asking which you think are the most readable of the first and last |
33 |
ones and if you see any issues with either. |
34 |
|
35 |
Thanks |
36 |
|
37 |
Roy |
38 |
|
39 |
-- |
40 |
gentoo-dev@g.o mailing list |