The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 05-10-2007
Perderabo's Avatar
Perderabo Perderabo is offline
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,718
Quote:
Originally Posted by Brusimm
My second issue is how deep can if's be nested?
There is no arbitrary limit. But at 10 to 15 the code would hard for a human to read so you don't want to over-do it. Search for getopts on this site and you will find plenty of scripts that use it.
Reply With Quote