From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18692 invoked from network); 24 Nov 1999 11:50:34 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Nov 1999 11:50:34 -0000 Received: (qmail 20519 invoked by alias); 24 Nov 1999 11:50:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8769 Received: (qmail 20512 invoked from network); 24 Nov 1999 11:50:24 -0000 Date: Wed, 24 Nov 1999 12:50:22 +0100 (MET) Message-Id: <199911241150.MAA15227@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Tue, 23 Nov 1999 21:40:38 +0000 Subject: Re: "getopts" bugs and bad interactions with "shift" Don't have any real opinion on this getopts business, just want to ask a question... Bart Schaefer wrote: > ... > shift $OPTIND # $((OPTIND-1)) if 3.0.7 or before > ... > return $ret I think, when *you* do this kind of stuff, you have a good reason, so: why the `$'s (and even `$((...))')? Compatibility with other shells? Bye Sven P.S.: They both matheval() their arguments... -- Sven Wischnowsky wischnow@informatik.hu-berlin.de