The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Help in 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
:
Help in getopts
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
11-01-2007
aigles
Registered User
Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,433
For
getopts
the options must always be specified before the arguments.
The syntax for your script must be : ksh my_script.sh [-n] <inputfile>
Jean-Pierre.
aigles
View Public Profile
Find all posts by aigles
Find aigles's past nominations received
Find aigles's present nominations given