Dotan Cohen wrote the following on 07.12.2008 00:47
>> For maximum compatibility, that needs to be:
>> VAR=<value>; export VAR
>>
>
> Compatibility with what?
csh, mksh, busybox, dash, zsh, ash and probably more...
--
bye Thilo
key: 0x4A411E09
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-07-2008, 08:36 AM
Sven Joachim
bashism
On 2008-12-07 02:04 +0100, Boyd Stephen Smith Jr. wrote:
> On Saturday 2008 December 06 17:47, Dotan Cohen wrote:
>> 2008/12/7 Boyd Stephen Smith Jr. <bss03@volumehost.net>:
>> > For maximum compatibility, that needs to be:
>> > VAR=<value>; export VAR
>>
>> Compatibility with what?
>
> UNIX. The Single Unix Specification is maintained by the Open Group who
> certify UNIX products.
You should upgrade your specification. Susv3 explicitly mentions the
"export name=word" syntax as supported.
> In particular, Mac OS X is certified UNIX.
And installs bash as /bin/sh.
Sven
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-07-2008, 08:46 AM
Teemu Likonen
bashism
Thilo Six (2008-12-07 01:21 +0100) wrote:
> Dotan Cohen wrote the following on 07.12.2008 00:47
>>> For maximum compatibility, that needs to be:
>>> VAR=<value>; export VAR
>> Compatibility with what?
>
> csh, mksh, busybox, dash, zsh, ash and probably more...
dash supports "export VAR=VALUE" form.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-07-2008, 08:04 PM
"Boyd Stephen Smith Jr."
bashism
On Sunday 2008 December 07 03:36, Sven Joachim wrote:
> On 2008-12-07 02:04 +0100, Boyd Stephen Smith Jr. wrote:
> > On Saturday 2008 December 06 17:47, Dotan Cohen wrote:
> >> 2008/12/7 Boyd Stephen Smith Jr. <bss03@volumehost.net>:
> >> > For maximum compatibility, that needs to be:
> >> > VAR=<value>; export VAR
> >>
> >> Compatibility with what?
> >
> > UNIX. The Single Unix Specification is maintained by the Open Group who
> > certify UNIX products.
>
> You should upgrade your specification. Susv3 explicitly mentions the
> "export name=word" syntax as supported.
You are correct. Looks like the "export name=word" form has actually be
supported since "Issue 6".
Older systems might not like it, but I suppose that's a problem with them not
being up to date.
--
Boyd Stephen Smith Jr. * * * * * * * * * * ,= ,-_-. =.
bss03@volumehost.net * * * * * * * * * * *((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy * * * * * `-'(. .)`-'
http://iguanasuicide.org/ * * * * * * * * * * *\_/ * *