Re: grep-2.9.69-f91c on OSF/1

2011-11-11 Thread Eric Blake
[dropping grep] On 11/11/2011 02:05 PM, Stefano Lattarini wrote: >> +Posix requires @command{export} to honor assignments made as arguments, >> +but older shells did not support this. Portable scripts should separate >> +assignments and exports into different statements (it does not matter if >>

Re: grep-2.9.69-f91c on OSF/1

2011-11-11 Thread Stefano Lattarini
Hi Eric. On Friday 11 November 2011, Eric Blake wrote: > [adding autoconf] > > On 11/11/2011 01:38 PM, Bruno Haible wrote: > > > The syntax "export VAR=VALUE" is not guaranteed by this shell. > > Either write "env VAR=VALUE ...", or "VAR=VALUE; export VAR; ..." > > > > > Strangely enough, this

Re: grep-2.9.69-f91c on OSF/1

2011-11-11 Thread Eric Blake
[adding autoconf] On 11/11/2011 01:38 PM, Bruno Haible wrote: > The syntax "export VAR=VALUE" is not guaranteed by this shell. > Either write "env VAR=VALUE ...", or "VAR=VALUE; export VAR; ..." > > Strangely enough, this portability problem of the 'export' built-in > is well-known, but not men