From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18702 invoked from network); 7 Oct 1998 03:57:24 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 7 Oct 1998 03:57:24 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id XAA04272; Tue, 6 Oct 1998 23:51:26 -0400 (EDT) Resent-Date: Tue, 6 Oct 1998 23:51:17 -0400 (EDT) From: "Bart Schaefer" Message-Id: <981006205428.ZM10148@candle.brasslantern.com> Date: Tue, 6 Oct 1998 20:54:28 -0700 In-Reply-To: Comments: In reply to Greg Badros "Null tilde expansions?" (Oct 6, 11:16am) References: X-Mailer: Z-Mail (4.0b.820 20aug96) To: Greg Badros , zsh-users@math.gatech.edu Subject: Re: Null tilde expansions? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"BIGg63.0.k11.qKk6s"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1834 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Oct 6, 11:16am, Greg Badros wrote: } Subject: Null tilde expansions? } } Is there any way to make ~notauser not cause an error (similar to the } null globbing option)? unsetopt badpattern users=(`ypcat group | awk -F: '/^oo_gang\>/ { printf $4 }' | tr , ' '`) dirs=(~$^users) dirs=(${(M)dirs:#~) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com