[Q] Limit on what a ksh or posix sh variable can hold.

From: Ian Mortimer <ian_at_physics.uq.edu.au>
Date: Tue, 06 Jul 1999 15:09:18 +1000

I've struck a problem with a script that has a line like this:

   filelist=`cat -`

In the ksh and posix sh this spits the dummy when the file list
reaches about 352 Kbytes with the message "no space".
The bourne sh doesn't seem to have any limit on what a variable
can hold.

Does anyone know where and how this limit is defined.
Can it be changed?

   
Ian

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Ian Mortimer _/
_/ ian_at_physics.uq.edu.au ,-_|\ Department of Physics _/
_/ Tel: +61 7 3365 3436 / *\ University of Queensland _/
_/ Fax: +61 7 3365 1242 \_,-._/ St. Lucia, Brisbane _/
_/ v Queensland, Australia 4072 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Disclaimer: Speaking only for myself.
Received on Tue Jul 06 1999 - 05:12:02 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT