> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of Igor Pechtchanski
>
> > ~$ time hostname
> > MY_HOSTNAME
> > real0m0.111s
> > user0m0.060s
> > sys 0m0.040s
> > [...]
> >
> > ~$ time echo `hostname`
> > MY_HOSTNAME
> > real0m6.175s
> > use
Neal Symms wrote:
> ~$ time hostname
> MY_HOSTNAME
> real0m0.111s
> user0m0.060s
> sys 0m0.040s
Here bash only has to spawn one subprocess, /bin/hostname.
> ~$ time echo hello
> hello
> real0m0.000s
> user0m0.000s
> sys 0m0.000s
Here bash doesn't have to spawn anything,
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
> real0m0.111s
> user0m0.060s
> sys 0m0.040s
>
> ~$ time echo hello
> hello
> real0m0.000s
> user0m0.000s
>
I've searched for anyone having similar problems, but can't find anything.
Here's the gist:
~$ time hostname
MY_HOSTNAME
real0m0.111s
user0m0.060s
sys 0m0.040s
~$ time echo hello
hello
real0m0.000s
user0m0.000s
sys 0m0.000s
~$ time echo `hostname`
MY_HOSTNAME
real0m6.
4 matches
Mail list logo