From owner-freebsd-current Wed Dec 18 14:54:49 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA04107 for current-outgoing; Wed, 18 Dec 1996 14:54:49 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id OAA04067 for ; Wed, 18 Dec 1996 14:54:31 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA08510; Wed, 18 Dec 1996 23:51:26 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id XAA11264; Wed, 18 Dec 1996 23:51:21 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id XAA24426; Wed, 18 Dec 1996 23:47:30 +0100 (MET) From: J Wunsch Message-Id: <199612182247.XAA24426@uriah.heep.sax.de> Subject: Re: Problem with /bin/sh's getopts builtin To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Wed, 18 Dec 1996 23:47:30 +0100 (MET) Cc: kew@timesink.spk.wa.us (Keith Walker), sprice@hiwaay.net (Steve Price) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612182101.NAA00876@phobos.walker.org> from Keith Walker at "Dec 18, 96 01:01:13 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Keith Walker wrote: > So, am I the only one who is having trouble with sh's getopts command > not working? As of a couple of weeks ago, or at least somewhere > between 2.2-SNAP-101496 and 3.0-Current, the getopts command stopped > working correctly for me. > Notice the lack of any action on the part of getopts, including it not > noticing that I didn't give the "-o" option an argument on the first > try. Umm, it seems you're right. :-( Steve, do you have any idea? This should definately be fixed before 2.2 leaves the factory... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)