The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
using getopts
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
using getopts
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
07-09-2009
fpmurphy
Moderator
Join Date: Dec 2003
Location: Florida
Posts: 1,934
Remove the ':' from after the 'i' in your list of command line switches.
Its all explained in the man page for getopts
fpmurphy
View Public Profile
Visit fpmurphy's homepage!
Find all posts by fpmurphy
Find fpmurphy's past nominations received
Find fpmurphy's present nominations given