Re: Compile time error: bash 4.1 on HP-UX 11.31

2010-08-20 Thread Greg Wooledge
On Fri, Aug 20, 2010 at 10:07:02AM -0500, Crowe, Edward wrote: > # diff builtins/printf.def.original builtins/printf.def > 174c174 > < #if !HAVE_VSNPRINTF > --- > > /*#if !HAVE_VSNPRINTF > 176a177 > > */ That's not the right fix. The right fix is to apply the patches from http://ftp.gnu.org/pub/g

Compile time error: bash 4.1 on HP-UX 11.31

2010-08-20 Thread Crowe, Edward
Hello, I was trying to compile bash 4.1 for HP-UX 11.31 on Itanium with HP's compiler (version: "(Bundled) cc: HP C/aC++ B3910B A.06.12 [Oct 11 2006]"). I ran ./configure without options and ran into the following error. (Bundled) cc: warning 922: "-g" is unsupported in the bundled compile

Re: inconsistent field splitting

2010-08-20 Thread Marc Herbert
>> There is a big difference between >> >> $ a=";" >> >> and >> >> $ a=; > And for the VERY ignorant what is the difference In the second case the unescaped semi-colon is a separator totally unrelated to the assignment, which has no value at all. The variable is assigned an empty string.

Re: inconsistent field splitting

2010-08-20 Thread Eric Blake
On 08/20/2010 07:12 AM, lxnf9...@comcast.net wrote: >> There is a big difference between >> >> $ a=";" >> >> and >> >> $ a=; >> >> Andreas. >> >> > > And for the VERY ignorant what is the difference a=';' assigns the value ";" to $a. a=; assigns the empty string to a, because the ; is the metach

Re: inconsistent field splitting

2010-08-20 Thread lxnf98mm
On Wed, 18 Aug 2010, Andreas Schwab wrote: Marc Herbert writes: Probably result in some error; I do not really care in this initial stage. In any case it should not perform any *implicit* (and thus confusing) quoting. There is no quoting, the shell just doesn't split into words, which doesn