cygwin out of sync with version?
Joey Officer
jofficer@wi.rr.com
Wed Oct 25 18:54:00 GMT 2006
Well whether it was due to disk caching or the modification of the
script the following were my results, thanks for the tip!
modified version:
time ./findme.bash 10.65.118.
real 21m38.537s
user 11m57.334s
sys 7m33.675s
original version:
time ./findme.bash 10.65.118.
real 22m0.749s
user 12m2.923s
sys 7m48.806s
Brian Dessent wrote:
> Joey Officer wrote:
>
>
>> for i in $( ls *.gz ); do
>>
>
> This needlessly forks a subshell process and a /bin/ls process for no
> apparent reason. For better performance and readability just let the
> shell do the globbing:
>
> for i in *.gz; do
>
> Brian
>
> --
> 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/
>
>
--
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/
More information about the Cygwin
mailing list