zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: remove duplicate array values in parameter expansion
Date: Sun, 16 Dec 2001 16:05:08 -0500	[thread overview]
Message-ID: <20011216210508.GA32623@dman.com> (raw)
In-Reply-To: <20011216205032.GA32057@dman.com>

> Other than replacing qsort for the combined base, I wouldn't know what
                                              ^ that should be a 'c'.

I forgot the extremely brief documentation.

Index: Doc/Zsh/expn.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/expn.yo,v
retrieving revision 1.38
diff -u -r1.38 expn.yo
--- Doc/Zsh/expn.yo	2001/09/09 06:17:03	1.38
+++ Doc/Zsh/expn.yo	2001/12/16 21:02:36
@@ -761,6 +761,9 @@
 in `tt(${${(z)foo}[2]})'. Likewise, to remove the quotes in the
 resulting words one would do: `tt(${(Q)${(z)foo}})'.
 )
+item(tt(n))(
+Expand only the first occurrence of each unique word.
+)
 enditem()
 
 The following flags (except tt(p)) are followed by one or more arguments


  reply	other threads:[~2001-12-16 21:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-14 21:51 gripes Clint Adams
2001-12-14 22:15 ` gripes Bart Schaefer
2001-12-16 20:50   ` PATCH: remove duplicate array values in parameter expansion Clint Adams
2001-12-16 21:05     ` Clint Adams [this message]
2001-12-16 22:58     ` Zefram
2001-12-17  1:12       ` Clint Adams
2001-12-17  4:24     ` Bart Schaefer
2001-12-17 14:03       ` Clint Adams
2002-01-07 14:40 ` gripes Sven Wischnowsky

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=20011216210508.GA32623@dman.com \
    --to=clint@zsh.org \
    --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).