Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!adm!rbj@icst-cmr.arpa From: rbj@icst-cmr.arpa (Root Boy Jim) Newsgroups: comp.unix.wizards Subject: impossible problem for find(1)? Message-ID: <7127@brl-adm.ARPA> Date: Mon, 27-Apr-87 12:51:53 EDT Article-I.D.: brl-adm.7127 Posted: Mon Apr 27 12:51:53 1987 Date-Received: Tue, 28-Apr-87 01:51:57 EDT Sender: news@brl-adm.ARPA Lines: 16 Without newer, the most efficient way to tackle this is, probably, to first list all the `*refs' files with directories: find . -name \*refs -print | torAWK-script Except that it might be worth solving the smaller problem first. First find only the directorys containing an INDEX, then figure out what *refs are out of date and what to do with them. Of course if you assume that in no INDEX exists that all the *refs are out of date, as make would, it makes no difference. (Root Boy) Jim "Just Say Yes" Cottrell I always have fun because I'm out of my mind!!!