[solved][sh] While loop -> Expression recursion level exceeded
Hi!
I wanted to use a while loop, like the one below, for checking words extracted by awk to terminate when a specific word appears. Unfortunately whenever I put my code inside the loop I get an error "Expression recursion level exceeded". What does it mean? What recursion? I don't have any recursive calls. I suppose that the problem may be with the number of repetitions which indeed may be very high but the loop is bound to terminate. What can I use instead that would work?
Last edited by machinogodzilla; 04-07-2009 at 08:08 PM..
Hello guys i'm getting this error on a sco 5.0.7 machine and i have no idea why i'm getting this error.
I know how to encrease the value of NSTRPAGES, right now i have it up to 4000.
I would like to know what is NSTRPAGES and what is causing this error to come up in my server.
Thanks a... (2 Replies)
Sirs/Madame,
On my HP-Unix, I came across an error GRECV-count exceeded and as a result of this, systems got hanged and server came down. Graceful shutdown too was not allowed.
Kindly, Can anybody help me out in killing this issue
Bhavani.R (0 Replies)
Hi,
How to write a script which checks the size of a log file?
I want that the log file contents to get cleared as soon as it increases 1 KB.
Thanks (3 Replies)
I keep on getting an error on my site saying
I've got a 250GB dedicated server, and have used less than 200mb of that.
The site has only been on the server for just over a month.
What does this mean and how can I sort it? (8 Replies)
Hey guys...
I'm learning some shell scripting on OS X using the tcsh shell.
For some reason... my while loop isn't executing right (or more likely I am doing something wrong.)
Something as simple as this doesn't work:
#!/bin/tcsh
set g = 0
while ($g <10)
echo "this" $g
@ g =... (2 Replies)
Hi. I am receiving this error message for the highlighted line (let "total=$total+$sales").
line 11: let: total+sales:expression recursion level exceeded (error token is "total+sales")
counter=0
sales=0
total=0
echo "enter sales price"
read sales
total=total+sales
while test $sales ; do... (5 Replies)
Hi,
i want to use regular expression in a for loop like this.
for var in "/Mar/2010"
do
echo "Usage for the date $var"
-----and want to grep $var partten from a file--------
done
and it is not working.
I am new to shell scripting, any one has any idea how to do it. (5 Replies)
I'm writing a script to merge the xkcd webcomic tiles for comic 1110. So far, I have written about 100 lines, and instead of doing each quadrant of the image separately, I've decided to use functions to do this, repeating for every quadrant and using variables for each quadrant to make the function... (9 Replies)
We have a RHEL 5.8 server at the production level and we have a Java application on this server. I know of the SSL certificate generation at the OS (RHEL) level but it is implemented on the Java application by our development team using the Java keytool. My doubt is that is the SSL generation can... (3 Replies)