Re: [OT] bashism (was: Re: Locale testing)
On Sun, Dec 07, 2008 at 01:47:29AM +0200, 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?
With older posix, I believe.
http://www.opengroup.org/onlinepubs/009695399/utilities/export.html
posh has no problem with that. checkbashism doesn't complain about it
(even with -p). Likewise zsh and busybox ash.
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
Reply to: