From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10607 invoked from network); 10 Sep 1999 14:03:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Sep 1999 14:03:26 -0000 Received: (qmail 24358 invoked by alias); 10 Sep 1999 14:03:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7768 Received: (qmail 24351 invoked from network); 10 Sep 1999 14:03:16 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer thoth.mch.sni.de) From: "Andrej Borsenkow" To: "Peter Stephenson" , "Zsh hackers list" Subject: RE: PATCH: 3.1.6-pws-3: sessions for zftp Date: Fri, 10 Sep 1999 18:03:11 +0400 Message-ID: <000d01befb95$376e58b0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <199909101354.PAA10698@paris.ifh.de> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 > > I made the functions use getopts for brevity, but there's still a problem > even after the last patch: something like `zfget -G - ...' isn't recognised > as terminating option processing, for which you need `zfget -G -- ...'; the > - is treated as an argument. I left this because it seems ksh behaves the > same way. > That is correct. The option terminator is `--'. Single `-' never was officially approved by current Unix standards (even when used in this way). I'd like, that our completion functions used `--' instead of `-' consistently as well. /andrej