From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25848 invoked from network); 28 Sep 2007 06:47:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 Sep 2007 06:47:00 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 94837 invoked from network); 28 Sep 2007 06:46:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Sep 2007 06:46:54 -0000 Received: (qmail 27523 invoked by alias); 28 Sep 2007 06:46:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23848 Received: (qmail 27507 invoked from network); 28 Sep 2007 06:46:50 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 28 Sep 2007 06:46:50 -0000 Received: (qmail 94537 invoked from network); 28 Sep 2007 06:46:50 -0000 Received: from mx7.netwood.net (209.247.184.8) by a.mx.sunsite.dk with SMTP; 28 Sep 2007 06:46:43 -0000 Received: from netwood.net (mail.netwood.net [209.247.184.35]) by mx7.netwood.net (8.13.8/8.13.8) with ESMTP id l8S6l02f006841 for ; Thu, 27 Sep 2007 23:47:00 -0700 (PDT) (envelope-from jessw@netwood.net) Received: from [192.168.0.240] [75.215.183.164] by netwood.net with ESMTP (SMTPD-8.22) id A35E065C; Thu, 27 Sep 2007 23:46:54 -0700 Mime-Version: 1.0 (Apple Message framework v624) To: zsh-workers@sunsite.dk Message-Id: <57a435543842b8fbe66c6b160483e197@netwood.net> Content-Type: multipart/mixed; boundary=Apple-Mail-1-54095598 From: Jesse W Subject: PATCH: md5sum completion function Date: Thu, 27 Sep 2007 23:49:36 -0700 X-Mailer: Apple Mail (2.624) X-Virus-Scanned: ClamAV 0.91.2/4418/Thu Sep 27 23:17:12 2007 on mx7.netwood.net X-Virus-Status: Clean --Apple-Mail-1-54095598 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Here is a completion function for the md5sum tool (the version included with the dpkg project). Let me know if there is any other information I should provide. --Apple-Mail-1-54095598 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="_md5sum" Content-Disposition: attachment; filename=_md5sum #compdef md5sum #descriptions copied from dpkg's version of md5sum's output. #dpkg's version is in the public domain. #Written by Jesse Weinstein #Thu Sep 27 23:42:28 2007 #Released into the public domain. _arguments -S \ "-v[verbose, print file names when checking]" \ "-b[read files in binary mode]" \ "(*)-c[check message digests (default is generate)]:md5 digest file:_files -g \*.md5" \ "(-)*:file to digest:_files" --Apple-Mail-1-54095598 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Jesse Weinstein --Apple-Mail-1-54095598--