Hi Jason,
>> Hm. The command is run multiple times. I'd probably just find a
>> way to
>> not have to do that. Something like
>>
>> for dir; do
>> dirs="$dirs|$dir"
>> done
>> dirs=${dirs#|}
>> hg manifest | egrep "^($dirs)/.*/${pat#s.}\$"
>>
>> or something like that. I dunno if that'd actually do what needs
>> to happen
>> there.
> Yes, it is faster.
> Here is a time running:
> # pwd
> $SRC/uts
>
> # time flg.flp -r
>
> real 1m43.533s
> user 1m37.697s
> sys 0m8.441s
>
> It is running in my x4200, 2 times faster than before.
>
> And takes about 3 minutes in my DELL GX270.
> real 2m57.556s
> user 2m33.094s
> sys 0m12.130s
>
> Could we use "echo" to take the place "hg manifest".In my test,"echo" often
> faster than "hg manifest" a little bit.
I'm not sure I understand what you mean here by replace "hg manifest"
with "echo"?
cheers,
steve
--
stephen lau // stevel at sun.com | 650.786.0845 | http://whacked.net
opensolaris // solaris kernel development