|
From: | Ajay Jain |
Subject: | Issue with Getopts |
Date: | Mon, 15 Nov 2010 12:41:19 +0530 |
Hi, I use 'getopts' in my shell script. If I run script normally, it works fine. However, the moment I run the script in the current shell (ie . <script.sh>), it fails returning error. Basically it is not able to parse the arguments. Any reason, why? Regards, Ajay.
[Prev in Thread] | Current Thread | [Next in Thread] |