I am facing a problem when i am trying to run shell script more than 5 times.
I have shell script( .sh file ) which ran perfectly fine in the early attempts( 1,2,3,4 runs ). But if i try to run the script more number of times, i am facing the below error message.
Too many ('s
I do not know what causing this error message.shell script has 79 lines in it and i am using some sed commands on the inputs and also running FORTRAN programs( .f programs ) in it.
Without seeing your shell script, it is hard to say much more than "fix your script", or "stop using csh for scripts and convert it to a Bourne, Korn or bash shell script".
If you show us your script, we might be able to make better suggestions.
Other than being confusing to readers, it shouldn't really affect the way your script runs on a Solaris (or other UNIX-like) system, but, conventionally, a script with a .sh filename extension is expected to be a script using Bourne shell syntax; not csh syntax.