zsh-users
 help / color / mirror / code / Atom feed
* how to?
@ 2002-08-23 13:35 Scott Lipcon
  2002-08-23 15:14 ` Phil Pennock
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Scott Lipcon @ 2002-08-23 13:35 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-08-27 18:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-23 13:35 how to? Scott Lipcon
2002-08-23 15:14 ` Phil Pennock
2002-08-23 15:59 ` Bart Schaefer
     [not found]   ` <20020823202218.A13113@globnix.org>
2002-08-24  3:47     ` Bart Schaefer
2002-08-24 21:56       ` Phil Pennock
2002-08-25  5:27         ` Bart Schaefer
2002-08-25 22:47           ` Phil Pennock
2002-08-27 10:34 ` Roman Neuhauser
2002-08-27 17:20   ` Phil Pennock
2002-08-27 18:00     ` Roman Neuhauser

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).