HylaFAX The world's most advanced open source fax server

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

Re: Bug in sendfax (Option -n not processed correctly)



Hello,

I (Matthias Pftzner) wrote:
> Hello Everybody,
> 
> I think, I found a bug in sendfax.
> 
> I'm using HylaFAX 4.0 PL1 on Solaris 2.5.1, compiled with Sun's CC 4.1.

[...]

> If "-n" is NOT at the beginning of the command line, a FAXCOVER page IS
> generated!
> 
> This, I'd call a bug!
> 
> I don't know, where this comes from, but I guess, someone has to look at it...

Sorry for this one, this is not a bug, it's a feature! Even if I (and others)
don't like it... ;-)

J. Eliot B. Moss (moss@cs.umass.edu) wrote to me:
> Here is an extract from the man page; as I said, the information is indeed
> there, even if it is not obvous on first reading:
> ========================================================================
>      The order of options on the  command  line  is  significant.
>      Each  fax to be transmitted is assigned the current value of
>      parameters specified on the command line;  e.g.  whether  or
>      not  to generate a cover page.  This means that options that
>      specify parameters for a particular destination must precede
>      the dialstring specified with the -d option.  For example,
>  
>           sendfax -n -d 5551212 /etc/passwd
>  
>      submits a fax to 5551212 that has no cover page while
>  
>           sendfax -d 5551212 -n /etc/passwd
>  
>      submits the same fax but with the default  cover  page  han-
>      dling.   Note  also  that parameter values persist across -d
>      options so the following
>  
>           sendfax -n -d 5551212 -d 5551313 /etc/network
>  
>      submits two facsimile, both of which have no cover page.
> ========================================================================
> I sympathize because I missed it and wasted time on the same issue. Hope this
> helps.                                                          EM

Sincerly,
        Matthias
-- 
     Matthias Pftzner     | pfuetzner@igd.fhg.de  | 1,491 messages to read
  @work:  +49 6151 155-312 | @home: +49 6151 75717 | today. I need a hand
FhG-IGD, Wilhelminenstr. 7 | Lichtenbergstrae 73  | massage.
    64283 Darmstadt, FRG   | 64289 Darmstadt, FRG  | Scott Adams .signature




Project hosted by iFAX Solutions