Re: cygwin out of sync with version?

2006-10-29 Thread Linda Walsh
Joey Officer wrote: I have a script that I run, the script is: findme.bash: #!/bin/bash for i in $( ls *.gz ); do echo Searching $i zcat -c $i | grep $1 searchresults.txt echo Finsihed searching $i , moving on to the next file... done

cygwin out of sync with version?

2006-10-25 Thread Joey Officer
I have a script that I run, the script is: findme.bash: #!/bin/bash for i in $( ls *.gz ); do echo Searching $i zcat -c $i | grep $1 searchresults.txt echo Finsihed searching $i , moving on to the next file... done Now, this used to

Re: cygwin out of sync with version?

2006-10-25 Thread Larry Hall (Cygwin)
Joey Officer wrote: I have a script that I run, the script is: findme.bash: #!/bin/bash for i in $( ls *.gz ); do echo Searching $i zcat -c $i | grep $1 searchresults.txt echo Finsihed searching $i , moving on to the next file... done

Re: cygwin out of sync with version?

2006-10-25 Thread Joey Officer
Larry, Thankyou! That indeed did solve my problem. I did a quick glance in the direction over at cygwin.com but did not see a specific reference to the recent bash release. Do you have a link I could read? Joey Larry Hall (Cygwin) wrote: Joey Officer wrote: I have a script that I run,

Re: cygwin out of sync with version?

2006-10-25 Thread Joey Officer
Actually, I just found the specific reference under the experimental bash release, I see the notes now. Thanks for the quick response, my script is running as intended, I can actually get some work done today ;) Thanks again, joey Larry Hall (Cygwin) wrote: Joey Officer wrote: I have a

Re: cygwin out of sync with version?

2006-10-25 Thread Brian Dessent
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:

Re: cygwin out of sync with version?

2006-10-25 Thread Joey Officer
I can certainly update the script, and will let you know how it runs... Thanks for the input, joey 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

Re: cygwin out of sync with version?

2006-10-25 Thread Joey Officer
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. real21m38.537s user11m57.334s sys 7m33.675s original version: time ./findme.bash 10.65.118. real22m0.749s