From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19352 invoked from network); 23 Aug 2002 13:35:27 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 23 Aug 2002 13:35:27 -0000 Received: (qmail 10768 invoked by alias); 23 Aug 2002 13:35:12 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5277 Received: (qmail 10755 invoked from network); 23 Aug 2002 13:35:12 -0000 From: Scott Lipcon To: zsh-users@sunsite.dk Subject: how to? Date: Fri, 23 Aug 2002 09:35:10 -0400 Sender: slipcon@mercea.net Message-Id: <20020823133510.2B8EC5B5@mercea.net> Here's something I figure is possible in zsh, but I don't know how - I'd like to be able to do an ls in a directory of source code while its being built, and basically say: show me all the .c files for which there doesn't exist a .o file. Right now I'm using: ls -1 *.[co] | cut -f 1 -d"." | uniq -c | grep 1 but there has to be a zsh way to do that without 3 pipes. Any ideas? Scott