HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] $ sign



On 2004.02.25 15:27 Barney Treadway wrote:
Just found out that the $ sign doesn't come through when in :

$my_file="sending a dollar total
how about $5.00
";
sendfax etc $my_file

In fact it wipes the character after it as well leaving fax body with
"how
about .00"! I can't find the HTML entity for it either anywhere.
Anyone know
how to make $ not mess things up?

sendfax didn't wipe the "$5" out at all. It's merely telling you that the shell set "$5"=="".


In other words, when you set:

$my_file="sending a dollar total
how about $5.00
";

You need to interpret that as the shell will with the $5 expanded to be null.

What you probably want to do is to set:

$my_file="sending a dollar total
how about \$5.00
";

or:

$my_file='sending a dollar total
how about $5.00
';

Lee.

____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxxxxx*




Project hosted by iFAX Solutions