Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem in faxcron: Would someone please check the following fo



If nothing matches the REGEX, than it will return the REGEX; ie, echo
*.foo will return "*.foo" if nothing in the directory matches.  I suspect
that something is happening here.... 

David.


On Fri, 20 Mar 1998, Nico Garcia wrote:

> -----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-----
> 
> 



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services