Getopts variations(Interesting question!)!!!!
amitflu <amitflu-/[email protected]> Fri, 3 Sep 2004 00:07:10 -0700 (PDT)
| Newsgroups | gmane.user-groups.linux.delhi.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, While making a shell scipts We can use getopts to understand options passed by user very comfortably. We can easily understand when user passs something like this:- ./myscript.sh -a anything -p -kt My question is how can we understand something like "--any-status" or big strings passed by the user. My application want user to pass "--any-status" when he wants to view the status. Please Suggest. Thanks and Regards, Amit __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail