delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/08/12:23:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
Path: not-for-mail
From: Andrew Markebo <andrew DOT markebo AT telia DOT com>
Subject: Re: Slowness when setting PS1 variable???
Date: Wed, 08 Jan 2003 17:09:42 +0100
Lines: 25
Message-ID: <m3u1gjei7t.fsf@telia.com>
References: <F6wUUt9QrAo6hgb7IP20000c22e AT hotmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7
(i386-redhat-linux-gnu)
Cancel-Lock: sha1:VW/1daDvTzlotS8G8KGFc8IiC0A=

| $ whoami
|
| I get a result immediately.
|
| However, if I do this:
|
| $ echo `whoami`
|
| It takes a good 5-10 seconds to print a value and return the prompt.

Isn't it something like echo `whoami` starts a new shell, that loads
the .profile (or whichever start-file) that takes 5-10 seconds to
load? 

And well.. if it is that whoami that due to some weird reason takes
the extra time.. but.. :-)

Hmm are there anything networked in the path, it picks data/files from
somewhere else?

        /Andy

-- 
 The eye of the beholder rests on the beauty!


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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