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.