Home » Infrastructure » Unix » Size of Parameters to Shell Scripts
Size of Parameters to Shell Scripts [message #109800] Tue, 01 March 2005 00:41 Go to next message
Messages: 1
Registered: March 2005
Junior Member
Hi All,

I have a shell script which has 17 parameters of which most are Pathnames. When I try to run the script with the pathnames then it gives ksh: “X”: notfound – Where ”X” is the last parameter while reading the parameters. However when I give simple numbers like 1,2,3,4….. as parameters though the scripts fails as pathnames have been replaced by numbers, still at least it moves forward and does not stop at the reading of parameters only.

Is there any limit on the size of parameters that can be sent to a shell script?

How can I overcome this problem.

Please Cc to my ID also



Re: Size of Parameters to Shell Scripts [message #109859 is a reply to message #109800] Tue, 01 March 2005 09:38 Go to previous message
Frank Naude
Messages: 4566
Registered: April 1998
Senior Member
What shell are you using? Please post your script (just the relevant parts) so we can test it on other systems.

Best regards.

Previous Topic: SQL in Unix/Linux Platform
Next Topic: Change ORATAB Location
Goto Forum:

Current Time: Sat Jan 16 13:05:16 CST 2021