delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/12/09:33:45

From: Michael Flegel <FLEGEL AT physnet DOT uni-hamburg DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: deleting stuff from djgpp directory?
Date: Mon, 12 May 1997 13:50:00 +0000
Organization: University of Hamburg -- Germany
Lines: 38
Message-ID: <Pine.VMS.3.91-b11-vms.970512134847.2360B-100000@sat111.physnet.uni-hamburg.de>
References: <Pine DOT VMS DOT 3 DOT 91-b11-vms DOT 970509122533 DOT 5060A-100000 AT sat113 DOT physnet DOT uni-hamburg DOT de> <33731C30 DOT 791E AT cornell DOT edu>
NNTP-Posting-Host: sat111.physnet.uni-hamburg.de
Mime-Version: 1.0
In-Reply-To: <33731C30.791E@cornell.edu>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Fri, 9 May 1997, A. Sinan Unur wrote:

> Michael Flegel wrote:
> > 
> > 
> > I just downloaded RHID12BB from R Hoene's website. And I wanted to 
> > delete the old version before I installed the new one. So I printed 
> > out the file from the manifest directory and deleted all files that 
> > were in it. Is there a simpler way of doing this?
> > There really ought to be... :-) If any onw knows, please email me.
> > 
> 
> duh ... it would take less effort to write a simple utility to read each
> line and delete the appropriate file than to print out the mft file and
> delete the files by hand. try it. it would need three options:
duh, if somebody else has done it, why should I redo it?!

> -d : specify the djgpp installation directory
So what is SET DJGPP for?
> -p : name of the package (w/o path)
> -e : read the djgpp installation directory from the environment (DJGPP)
see above

> then, all you need to do is open the appropriate mft file, read it in
> line by line, form the full path to each file and delete it. voila, you
> got yourself a nifty utility.
rm is such a nifty utility ;-)


  MLF/SLi

;----------------------------------------------------------------------------;
;  Michael Lamar Flegel  ;  Student of Math and Physics in Hamburg, Germany  ;
;  Am Ehrenmal 2         ;---------------------------------------------------;
;  21516 Schulendorf     ;  www.physnet.uni-hamburg.de/home/vms/flegel       ;
;  Germany               ;  flegel AT physnet DOT uni-hamburg DOT de                    ;
;----------------------------------------------------------------------------;

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019