From owner-freebsd-questions Tue May 6 23:30:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA04956 for questions-outgoing; Tue, 6 May 1997 23:30:12 -0700 (PDT) Received: from iceberg.anchorage.net. (root@iceberg.anchorage.net [207.14.72.150]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id XAA04947 for ; Tue, 6 May 1997 23:30:09 -0700 (PDT) Received: from aak.anchorage.net (ai-134 [207.14.72.134]) by iceberg.anchorage.net. (8.6.11/8.7.3) with SMTP id VAA08320 for ; Tue, 6 May 1997 21:26:57 -0800 Date: Tue, 6 May 1997 22:20:35 -0800 (AKDT) From: Steve Howe X-Sender: abc@aak.anchorage.net To: freebsd-questions Subject: getopts Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk can anyone tell me what the purpose of the sh builtin "getopts" is? it doesn't seem to be as functional as the program getopt(1). why would i want to use it (getopts)? -------------------------------------------------------------------------