zsh-users
 help / color / mirror / code / Atom feed
From: Andrew Main <zefram@tao.co.uk>
To: schaefer@brasslantern.com (Bart Schaefer)
Cc: lew@ezdzit.zko.dec.com, zsh-users@math.gatech.edu
Subject: Re: delay argument interpretation
Date: Tue, 22 Jul 1997 09:23:27 +0100 (BST)	[thread overview]
Message-ID: <199707220823.JAA20676@taos.demon.co.uk> (raw)
In-Reply-To: <970721115258.ZM10155@candle.brasslantern.com> from "Bart Schaefer" at Jul 21, 97 11:52:58 am

Bart Schaefer wrote:
>    show () {
>        show=() 
>        show=($~*) 
>        print -rc $show
>    }
>    alias show='noglob show'

Why?  What's wrong with

function show {
  show=("$@")
  print -rc -- "$@"
}

-zefram


  reply	other threads:[~1997-07-22  9:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-21 16:05 Paul Lew
1997-07-21 16:43 ` Andrew Main
1997-07-21 18:52 ` Bart Schaefer
1997-07-22  8:23   ` Andrew Main [this message]
1997-07-22 16:10     ` Bart Schaefer
1997-07-22 17:25       ` Zoltan T. Hidvegi
1997-07-22 17:28 Zoltan T. Hidvegi

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=199707220823.JAA20676@taos.demon.co.uk \
    --to=zefram@tao.co.uk \
    --cc=lew@ezdzit.zko.dec.com \
    --cc=schaefer@brasslantern.com \
    --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).