From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14534 invoked from network); 6 Oct 1998 19:28:42 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 6 Oct 1998 19:28:42 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id OAA23125; Tue, 6 Oct 1998 14:13:18 -0400 (EDT) Resent-Date: Tue, 6 Oct 1998 14:13:00 -0400 (EDT) To: zsh-users@math.gatech.edu Subject: Null tilde expansions? From: Greg Badros Date: 06 Oct 1998 11:16:28 -0700 Message-ID: X-Mailer: Gnus v5.4.65/XEmacs 20.4 - "Emerald" Resent-Message-ID: <"A1dom2.0.ze5.isb6s"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1831 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Is there any way to make ~notauser not cause an error (similar to the null globbing option)? I'd like this to give me the home directories of all the users in group oo_gang users=(`ypcat group | awk -F: '/^oo_gang\>/ { printf $4 }' | tr , ' '`) dirs=~$^users without first having to eliminate users from $users which no longer exist (our sysadmins aren't good about eliminating users from groups when the remove the user account). Thanks, Greg