zsh-workers
 help / color / mirror / code / Atom feed
From: Jesse W <jessw@netwood.net>
To: zsh-workers@sunsite.dk
Subject: PATCH: _ranlib
Date: Sun, 30 Sep 2007 18:58:38 -0700	[thread overview]
Message-ID: <190a0e2905afddd9b1c5a2a3c347f5ff@netwood.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

Here's a ranlib completion function; comments welcomed, of course.

	Jesse Weinstein


[-- Attachment #2: _ranlib --]
[-- Type: application/octet-stream, Size: 753 bytes --]

#compdef ranlib

#based on the options in the libtool/ranlib from the
#OSX Compiler Tools, version cctools-495 (1999), 
#licensed under Apple Public Source License Version 2.0

#Written by Jesse Weinstein <jessw@netwood.net>
#Sun Sep 30 18:56:44 2007
#Released into the public domain.

#TODO: specify customary extensions for the archive files operated on by ranlib

_arguments \
    "(-a)-s[preferred type ToC (default)]" \
    "(-s)-a[original type ToC]" \
    "-c[include common symbols]" \
    "(-T)-L[4.4bsd archive extended format #1 (default)]" \
    "(-L)-T[truncate names to 16 chars, per pre-4.4.bsd format]" \
    "-f[warn about fat archives]" \
    "-t[do not rebuild ToC (ignored)]" \
    "(-)-[no more options]" \
    "1:archive: _files"


             reply	other threads:[~2007-10-01  1:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-01  1:58 Jesse W [this message]
2007-10-01 13:22 ` Clint Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=190a0e2905afddd9b1c5a2a3c347f5ff@netwood.net \
    --to=jessw@netwood.net \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).