RFD: using "*" in phone-number with faxspool

Gert Doering (gert@greenie.muc.de)
Wed, 16 Jun 1999 21:34:12 +0200


Hi,

On Wed, Jun 16, 1999 at 10:33:00AM +0200, Ulrich Mueller wrote:
> > I want to send a fax to the phone-number "**" but faxspool only
> > allows [-0-9TtPpW,;] for the phone-number.
> 
> > james@kirk:/home/james/mgetty-1.1.20/fax > diff faxrunqd.in faxrunqd.in.new
> > 856c856
> > <              @flags, $phone,
> > ---
> > >              @flags, \"$phone\",
> 
> Hm, that should be "\"$phone\"" or '"'.$phone.'"' otherwise perl will
> not compile it.

Yep.

> However, the line is part of an "exec" command and there is no
> wildcard expansion. I believe the quotes are not necessary at all.

So do I.  "exec" shouldn't go through a shell...

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de