From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079058315705.tru64-unix-managers.marc@archive.invalid> From: Ian Mortimer Date: Tue, 06 Jul 1999 05:09:18 +0000 To: tru64-unix-managers Subject: [Q] Limit on what a ksh or posix sh variable can hold. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079058315705 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@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.