Path: utzoo!attcan!utgpu!watmath!iuvax!rutgers!orstcs!statware!mcf
From: mcf@statware.UUCP (Mathieu Federspiel)
Newsgroups: comp.sys.hp
Subject: Bourne shell limits
Keywords: Bourne, shell variables
Message-ID: <4490@statware.UUCP>
Date: 16 Aug 89 20:41:50 GMT
Reply-To: mcf%statware.UUCP@CS.ORST.EDU (Mathieu Federspiel)
Distribution: na
Organization: Statware, Corvallis, Oregon
Lines: 18


  I have a script which apparently is exceding the limit on the
number or length of shell variables permitted in the Bourne shell.
It permits the user to enter several variables, then writes a file
containing the values of these variables.  Beyond a certain number
of characters stored in the shell variables, the file which is
written will be corupt.  Cat will write correctly the first part of
the file, but the last part contains garbage.
  What is the limit on shell variables and can this be adjusted?
I am running HP-UX on 9825S.
  (Yes, the work-around is C, but I would still like to know what
the limit is.)
  Thanks in advance!
-- 
Mathieu Federspiel                  mcf%statware.uucp@cs.orst.edu
Statware                            {hp-pcd,tektronix}!orstcs!statware!mcf
260 SW Madison Avenue, Suite 109    503-753-5382
Corvallis  OR  97333  USA