Mail Archives: djgpp/1997/08/07/08:15:32

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: bash
Date: Mon, 04 Aug 1997 11:18:50 +0200
Organization: TU Chemnitz-Zwickau
Lines: 27
Message-ID: <33E59E7A.382B23FB@Mathematik.TU-Chemnitz.DE>
References: <33E15997 DOT FA0 AT sympatico DOT ca>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jim Chapman wrote:
> rm *. It removed files ffffff01 to ffffff14. I executed the command

Please make sure, that you are using rm from the DJGPP package
fileutils!!! You can test it with

rm --version

If it is any other rm.exe (not a DJGPP program) it does not know
about the long commandlines and a short computation gives you
the reason for deleting only the first 14 files:

count_of_file * (length_filename+one_space)
     14       * (       8       +   1     ) = 126

which is the maximum allowed commandline length for 
non-DJGPP programs (under raw DOS).

* 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:                       *

- Raw text -

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