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



Escaping it should work, or you could enclose the string in single quotes instead of double quotes (as long as there are no other variables in the string you want expanded).

-Eric 'Shubes'

Simon Perry wrote:

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?




Barney,

Not that familiar with Hylafax and it's scripts but it sounds like the $ is getting parsed somewhere either escaping it with a backslash or encoding it should work.

\$
$


hth


Simon

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



-- -Eric 'shubes' "There is no such thing as the People; it is a collectivist myth. There are only individual citizens with individual wills and individual purposes." -William E. Simon (1927-2000), Secretary of the Treasury (1974-1977) "A Time For Truth" (1978), pg. 237


____________________ 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