From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24516 invoked from network); 5 Jun 2007 15:46:50 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.2.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Jun 2007 15:46:50 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 896 invoked from network); 5 Jun 2007 15:46:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Jun 2007 15:46:42 -0000 Received: (qmail 8634 invoked by alias); 5 Jun 2007 15:46:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23525 Received: (qmail 8624 invoked from network); 5 Jun 2007 15:46:38 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Jun 2007 15:46:38 -0000 Received: (qmail 550 invoked from network); 5 Jun 2007 15:46:38 -0000 Received: from redoubt.spodhuis.org (HELO mx.spodhuis.org) (193.202.115.177) by a.mx.sunsite.dk with SMTP; 5 Jun 2007 15:46:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=first1; d=spodhuis.org; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; b=lQx5VJ1eP+xGKBGEOswOsnYUX1KZi+x5gzFn9x/+v7XaCgtqHYhLk4ygtmChXi/GjQLqgUENmw+bI35bmifbCHrYQIFKj9lBh1ONqifDFgzJrfJLeLs/V1l8UoeUBKyUI8MAgMQnDpFDZRnv4YBuqmxWV9Pu8Zn/VPquin2+K4Y=; Received: by smtp.spodhuis.org with local id 1HvbEv-0009cp-L8; Tue, 05 Jun 2007 15:46:33 +0000 Date: Tue, 5 Jun 2007 08:46:33 -0700 From: Phil Pennock To: Zsh hackers list Subject: Re: PATCH: _units Message-ID: <20070605154633.GA36941@redoubt.spodhuis.org> Mail-Followup-To: Zsh hackers list References: <200706041518.l54FI4lV007223@news01.csr.com> <20070604192138.GA15026@redoubt.spodhuis.org> <200706051011.l55ABJJF009468@news01.csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706051011.l55ABJJF009468@news01.csr.com> On 2007-06-05 at 11:11 +0100, Peter Stephenson wrote: > Probably the first thing to do is run with the --version option and look > at what you get. The worst it's likely to do is print an error > message. % units --version | sed 's/^/STDOUT:/' units: illegal option -- - usage: units [-f unitsfile] [-q] [-v] [from-unit to-unit] Exit status happens to be 3; this isn't documented but I've checked the source and it's hard-coded. Meh, Unix needed standardised help/version options 20 years earlier. -Phil