* csh Resource buffers limitation
@ 1996-08-12 14:32 Surash Natarajan
0 siblings, 0 replies; only message in thread
From: Surash Natarajan @ 1996-08-12 14:32 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
We are using DU 3.2c and recently we wrote a script that does recursive
processing on the current directory and all its subdirectories. If the
directory structure is small the script run okay, but if the directory
structure is big the script aborts. The problem was traced to the following
statement :-
foreach file ('cat $tmpdir/clean.out')
In this statement, the directory structure and its file names are kept is
the $tmpdir/clean.out file and this script process each line by line from
this file. The problem is when this file contains a large listing of
filenames, it aborts with the following message :-
Too many words from ''.
My question is how can we control the resources that are allocated by the
system to the environment that csh operates in, to our understanding there
is some sort of buffer that stores the input for the "foreach" command and
when this limit is hit the scripts aborts.
Any response will be much appreciated.
Surash Natarajan
OTIS Engineering Center, Penang, Malaysia
surash@omc.otis.utc.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-08-12 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-12 14:32 csh Resource buffers limitation Surash Natarajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox