From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24829 invoked from network); 21 Jul 1997 16:48:29 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 21 Jul 1997 16:48:29 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id MAA19260; Mon, 21 Jul 1997 12:43:50 -0400 (EDT) Resent-Date: Mon, 21 Jul 1997 12:43:14 -0400 (EDT) From: Andrew Main Message-Id: <199707211643.RAA15804@taos.demon.co.uk> Subject: Re: delay argument interpretation To: lew@ezdzit.zko.dec.com (Paul Lew) Date: Mon, 21 Jul 1997 17:43:02 +0100 (BST) Cc: zsh-users@math.gatech.edu In-Reply-To: <9707211605.AA17539@ezdzit.zko.dec.com> from "Paul Lew" at Jul 21, 97 12:05:12 pm X-Loop: zefram@tao.co.uk X-Headers: in preparation X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"YV8NO.0.lh4.X6vqp"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/960 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu function ask { local yon echo -n - >&2 "$1? [y/n]: " read yon [[ "$yon" == [yY]* ]] && eval "$1" } for i in *.c; do ask 'diff =(rmcmt old/$i) =(rmcmt $i) # $i = '$i done There are other obvious variations. -zefram