![]() |
-----BEGIN PGP SIGNED MESSAGE----- On Fri, 20 Mar 1998, Seth Chaiklin wrote: > for i in log/[0-9]*; do > if [ -f $i ]; then > > As I can imagine, the idea is to file all the files in the log/ directory > that start with something between 0 and 9, and then process them further if > they exist. > > But there is one problem. > > If I run a similar version under: GNU bash, version 1.14.7(1) > > for i in log/[0-9]*; do > echo $i > done Bash does a lot of things in a subtly different fashion, but this is not one of them, according to the test I just ran under bash 1.14.7. Something else is going on. Nico Garcia Engineer, CIRL Mass. Eye and Ear Infirmary raoul@cirl.meei.harvard.edu -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNRK38T/+ItycgIJRAQE86AP8DDBI+MAuQZpyCpo4T1F/WdyEinVeHoM9 rx6Zx+ttSPiCSPE+UHPslQUJUODstF6J6ZaEIeBTYShdd9QkM2L+6uN9cptG/gYG UFxIdlsfzpHIY4oDFeZKXB2fes76GVE00PXtX5YoTrhQPjD8X+0gT+WSipiVt9Yt XW7pYZaSQkM= =vVOp -----END PGP SIGNATURE-----