Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how to?
- X-seq: zsh-users 5279
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Scott Lipcon <slipcon@xxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: how to?
- Date: Fri, 23 Aug 2002 15:59:54 +0000
- In-reply-to: <20020823133510.2B8EC5B5@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20020823133510.2B8EC5B5@xxxxxxxxxx>
On Aug 23, 9:35am, Scott Lipcon wrote:
}
} 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.
c=(*.c) o=(*.o(N)) eval 'ls ${${c:#(${~${(j:|:)${o:r}}}).c}:?done}'
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author