The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-18-2007
drl's Avatar
drl drl is offline Forum Advisor  
Registered User
  
 

Join Date: Apr 2007
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 708
Hi.

I think Ygor's suggestion is relatively easy to implement and useful to know about.

However, there are those extra actions with which getopts-like facilities can help us -- error messages, shifting, etc.

There is a shell version of getopt that can process long options. See Bash long options and Python s-expression parser for details ... cheers, drl

Last edited by drl; 10-19-2007 at 08:09 AM.. Reason: Clarify meaning.