delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/31/10:48:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 31 Mar 2005 10:48:15 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Neal Symms <nsymms AT redwar DOT us>
cc: cygwin AT cygwin DOT com
Subject: Re: bash backtick operator very slow
In-Reply-To: <MCENKDNFJIGGLCDONNNHIECHCJAA.nsymms@redwar.us>
Message-ID: <Pine.GSO.4.61.0503311046180.12122@slinky.cs.nyu.edu>
References: <MCENKDNFJIGGLCDONNNHIECHCJAA DOT nsymms AT redwar DOT us>
MIME-Version: 1.0

On Thu, 31 Mar 2005, Neal Symms wrote:

> I've searched for anyone having similar problems, but can't find anything.
> Here's the gist:
>
> ~$ time hostname
> MY_HOSTNAME
> real    0m0.111s
> user    0m0.060s
> sys     0m0.040s
>
> ~$ time echo hello
> hello
> real    0m0.000s
> user    0m0.000s
> sys     0m0.000s
>
> ~$ time echo `hostname`
> MY_HOSTNAME
> real    0m6.175s
> user    0m0.060s
> sys     0m0.050s
>
> ..and that was a fast one.  Usually it takes > 7 seconds.  I'm running
> cygwin under Win2K in a domain environment.  I don't have this problem when
> running the same exact setup on a non-domain machine.  Anyone seen anything
> like this before?

Does <http://cygwin.com/ml/cygwin/2005-03/msg00730.html> help?

> I have no network drives in my PATH.  Bash version is 3.1-4, cygwin DLL
> version is 1.5.13.  The sh shell has the same behavior.  I don't have
> ash, but I suppose I could try that one too...

FYI, "/bin/sh" *is* ash.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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