csh: how to go into each sub dir and call an executable
From: John Black (black_at_eed.com)
Date: 07/29/04
- Next message: Sybren Stuvel: "Re: Weird sound problem occuring..."
- Previous message: rnwvr: "Weird sound problem occuring..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jul 2004 09:13:52 -0600
Hi,
Let's say there are many many sub-directories under the
current
directory, and all sub-dir is named like "sub00", "sub01",
"sub02",
etc., under each sub-dir there is an executable, a.out.
What I want is a script or command, which can go to each
sub
directory and call a.out and re-direct the dump out from
a.out to a
file, something like
cd sub00
a.out > log
I am not familiar with c-shell program, is such
command/script on
top of your mind?
Thanks.
- Next message: Sybren Stuvel: "Re: Weird sound problem occuring..."
- Previous message: rnwvr: "Weird sound problem occuring..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]