Re: AIX 5.2: problem with here documents in ksh93

From: Jurjen Oskam (joskam_at_quadpro.stupendous.org)
Date: 09/30/03


Date: 30 Sep 2003 13:59:25 GMT

In article <aIeeb.4724$832.4525@twister.rdc-kc.rr.com>, Dan Mercer wrote:

> I had a customer with a problem just like yours earlier this week.
> A Sybase process couldn't open a socket to the database - it would
> crash immediately but with a confusing message that indicated the
> database was down, which it wasn't. Turned out to be a default
> resource problem - there was a limit on file descriptors that could be
> opened by user processses. This is a default settings problem with AIX 5.2.

I wouldn't say that's a problem, just something that needs to be adjusted when
needed. The fact that Sybase doesn't handle this case gracefully -- that is
a problem. :-)

However, I don't this is the problem since the temporary file was opened
successfully.

I do have discovered another problem with the AIX 5.2 ksh93 (bos.rte.shell
5.2.0.14):

#!/bin/ksh93
while read -u3 testvar ; do
print ${testvar}
done 3<./inputfile

doesn't work (no output at all), while

#!/bin/ksh93
while read testvar ; do
print ${testvar}
done <./inputfile

... works as expected. In ksh88 this both works fine.

-- 
Jurjen Oskam
PGP Key available at http://www.stupendous.org/