delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/10/10:34:55

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bug in strip?
Date: Tue, 10 Jun 1997 13:58:41 +0200
Organization: TU Chemnitz-Zwickau
Lines: 23
Message-ID: <339D4171.29E69060@Mathematik.tu-chemnitz.de>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970609090339 DOT 15943E-100000 AT is>
NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii wrote:
> 
> This works.  Robert, can you please look at `strip' and see whether it
> cannot grok backslashes for some reason?  These problems are usually
I hadn't so much time yet, but I found already, that there is an
asuumtion of forward slashes when computing a temp name from
the original name by scanning backwards for a '/'.  I will take
a deeper look at it when I have the time.

BTW:

strip d:\prog.exe

works, but only if it is executed on drive d:

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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