From xemacs-m  Sat Mar  1 13:00:42 1997
Received: from mailbox1.ucsd.edu (mailbox1.ucsd.edu [132.239.1.53])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA21325
	for <xemacs-beta@xemacs.org>; Sat, 1 Mar 1997 13:00:39 -0600 (CST)
Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by mailbox1.ucsd.edu (8.8.5/8.6.9) with SMTP id LAA29568 for <xemacs-beta@xemacs.org>; Sat, 1 Mar 1997 11:00:40 -0800 (PST)
Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4)
	id LAA17623; Sat, 1 Mar 1997 11:02:58 -0800
Sender: dmoore@sdnp5.ucsd.edu
To: xemacs-beta@xemacs.org
Subject: Re: update-elc question
References: <E0w06AM-0007J9-00@chekov.ctd.comsat.com> 	<m2rai2uluv.fsf@altair.xemacs.org> 	<rvrai2dqj0.fsf@sdnp5.ucsd.edu> <199703010426.UAA01531@xemacs.eng.sun.com> <m267zcyyy5.fsf@altair.xemacs.org>
X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L
Mail-Copies-To: never
From: David Moore <dmoore@ucsd.edu>
Date: 01 Mar 1997 11:02:57 -0800
In-Reply-To: Steven L Baur's message of 28 Feb 1997 21:16:02 -0800
Message-ID: <rv3eufe8pq.fsf@sdnp5.ucsd.edu>
Lines: 32
X-Mailer: Gnus v5.4.8/XEmacs 19.15

Steven L Baur <steve@miranova.com> writes:

> Martin Buchholz writes:
> 
> >>>>>> "David" == David Moore <dmoore@ucsd.edu> writes:
> David> What if the update-elc Makefile rule first recursed through the
> David> lisp tree and removed any .elc file older than the
> David> corresponding .el file.
> 
> > This is an excellent idea.  Writing *portable* sh code to do this in
> > update-elc.sh may prove to be a challenge.
> 
> I thought we already did some of that already
> 
> echo "Deleting .elc files without .el files..."
> comm -13 $els $elcs | sed -e '\!/vm.el!d' -e '\!/w3.el!d' -e 's/el$/elc/' | \
>  while read file ; do echo rm "$file" ; rm "$file" ; done
> echo "Deleting .elc files without .el files... Done"

	Hmm, isn't there a vm.el now, and w3.el also?

> Aren't the test operators -nt and -ot standard?

	No, and neither is find -newer.  Kyle just asked the same
question I was thinking, ``Why can't this be done in lisp?''


-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.

