Kyle R . Burton on Mon, 1 Apr 2002 17:40:28 +0200 |
> PS... > > You'll probably want to expand my # parse $1 by dealing with both $1 > and $2; if you do that, then you should shift 2 instead of shifting > 1 (but only do the shift 2 on the flags that take arguments, of > course). There is also getopt(1), which is specificly for use in shell scripts. It's based on getopt(3) which, IIRC, it used by about 90% of the common unix utilities. Kyle -- ------------------------------------------------------------------------------ Wisdom and Compassion are inseparable. -- Christmas Humphreys mortis@voicenet.com http://www.voicenet.com/~mortis ------------------------------------------------------------------------------ ______________________________________________________________________ Philadelphia Linux Users Group - http://www.phillylinux.org Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|