Hello List

It's your favourite posix shell lover here, asking for your honest
opinions.

array="1.2.3.4 netmask 5.6.7.8;
\*
'host.name' netmask 1.2.3.4
-I 'option; $FOO with spaces'
"

array=("1.2.3.4 netmask 5.6.7.8;"
"\*"
"'host.name' netmask 1.2.3.4"
"-I 'option; $FOO with spaces'"
)

array="'1.2.3.4 netmask 5.6.7.8;' \
'\*' \
\"'host.name' netmask 1.2.3.4\" \
\"-I 'option; $FOO with spaces'\"
"

The first and last are of course posix constructs whilst the middle is
bash.

The bash one is purely there for reference, and of course you can still
use it if /bin/sh is bash. The last one is what baselayout-2 currently
uses and I'm wondering if we should switch to the first one before we
come out of package.mask.

I'm asking which you think are the most readable of the first and last
ones and if you see any issues with either.

Thanks

Roy

-- 
[EMAIL PROTECTED] mailing list

Reply via email to