Home » Infrastructure » Unix » Positional Parameters Resetting
Positional Parameters Resetting [message #330462] Mon, 30 June 2008 04:11 Go to next message
Messages: 4
Registered: June 2008
Location: India
Junior Member

In below example,Shell1.sh require 2 parameters from outside.
Step1) . ./Shell1.sh 2 3
successfully executed, Then i executed(next step only) the same shell script again,this time no parameters passed.

Step 2) . ./Shell1.sh
This is also successfully executed,because it considered(previous values) 2 & 3 as the positional parameters as i had not reseted them.

Can any one provide the Unix command to reset the Positional parameters?

Thanks in advance

Re: Positional Parameters Resetting [message #330481 is a reply to message #330462] Mon, 30 June 2008 04:55 Go to previous message
Michel Cadot
Messages: 67948
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This is an Oracle forum not a Unix one.
Post your question in a more appropriate forum.

This topic is locked.
Previous Topic: Unix question
Next Topic: Coping alerrt log
Goto Forum:

Current Time: Wed Sep 22 07:06:24 CDT 2021