This is the mail archive of the cygwin-talk mailing list for the cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygwin out of sync with version?


On 25 October 2006 17:44, 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


  Or you could have just directed him to 

http://partmaps.org/era/unix/award.html#ls


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]