zsh-users
 help / color / mirror / code / Atom feed
From: Andrew Main <zefram@tao.co.uk>
To: mirar@infovav.se (Mirar)
Cc: zefram@tao.co.uk, sweth@astaroth.nit.gwu.edu, zsh-users@math.gatech.edu
Subject: Re: completion hacking
Date: Mon, 15 Dec 1997 11:18:41 +0000 (GMT)	[thread overview]
Message-ID: <199712151118.LAA32396@taos.demon.co.uk> (raw)
In-Reply-To: <827m974jep.fsf_-_@beldandy.infovav.se> from "Mirar" at Dec 15, 97 00:03:26 am

Mirar wrote:
>Could this be written in a better way?
>
>cvsaddp() {
>    setopt localoptions nullglob
>    [[ -e CVS/Entries ]] && reply=(`(sed -ne 's:^/\([^/]*\)/.*$:E\1:p' -e 's:^/\([^/]*\)/-.*$:E\1:p' <CVS/Entries; ( ls -a1 | sed 's:^\(.*\)$:D\1:g' ); (ls -ad1 $(echo "$cvsignore"; cat .cvsignore 2>/dev/null  ) 2>/dev/null | sed 's:^\(.*\)$:I\1:g' ) ) | sort +0.1 | uniq --skip-chars=1 -u | sed -ne 's/^[^I]\(.*\)$/\1/p'`)
>}

Probably.

-zefram


  reply	other threads:[~1997-12-15 11:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-12 17:42 zsh lists being used for spam-gathering? Timothy Luoma
1997-12-12 18:20 ` Bruce Stephens
1997-12-12 18:49   ` Sweth Chandramouli
1997-12-12 19:19     ` Andrew Main
1997-12-12 20:20       ` Mirar
1997-12-12 20:26         ` Andrew Main
1997-12-12 20:31           ` Mirar
1997-12-12 20:59             ` Andrew Main
1997-12-12 21:06               ` Mirar
1997-12-14 23:03                 ` completion hacking Mirar
1997-12-15 11:18                   ` Andrew Main [this message]
1997-12-15 10:06     ` zsh lists being used for spam-gathering? Bruce Stephens
1997-12-12 21:42 ` Richard Coleman

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=199712151118.LAA32396@taos.demon.co.uk \
    --to=zefram@tao.co.uk \
    --cc=mirar@infovav.se \
    --cc=sweth@astaroth.nit.gwu.edu \
    --cc=zsh-users@math.gatech.edu \
    /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).