From: rpolzer AT web DOT de (Rudolf Polzer) Newsgroups: comp.os.msdos.djgpp Subject: Re: newbie References: <9597vh$n6u$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <20010131102557 DOT A2585 AT kendall DOT sfbr DOT org> X-newsgroup: comp.os.msdos.djgpp X-Mailer: GehtDichNenScheissdreckAn 1.0 User-Agent: GehtDichNenScheissdreckAn 1.0 Message-ID: User-Agent: slrn/0.9.6.2 (Linux) Date: Thu, 1 Feb 2001 17:43:43 +0100 Lines: 18 NNTP-Posting-Host: 213.7.23.119 X-Trace: 981046072 news.freenet.de 23436 213.7.23.119 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jason Green schrieb Folgendes: > rpolzer AT web DOT de (Rudolf Polzer) wrote: > > > The version of bash I had did not have cp and so on as internal commands, > > thus being everything but echo, # and cd very slow (half a second!). I got > > bash from the cygwin package. > > BASH does not have a builtin `cp', for this you need the GNU file > utils fil316b.zip. The DJGPP port of BASH is in bsh203b.zip. xcopy is also external and just as slow as cp when called from bash. Looks to me that bash needs to initialize DPMI and exit from DPMI everytime it runs an external program. I do have cp.exe. BTW, xcopy is just as slow when run from bash. -- Nuper erat medicus, nunc est vispillo, Diaulus: Quod vispillo facit, fecerat et medicus.