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] Finding and removing strings from Faxfile



On Wed, 16 Oct 2002 19:06:01 +0200, jonny.axelsson@systeam.se wrote:

>If i want to use this row in a bash script what do i do with the < > signs.
>I tried this
>SendFaxTo=`perl -ne 'print $1 if (m|<SendTo>(.*?)<SendTo>|);' ${FAXFILE} `
>But if i echo this line to a file i se that in the bash script the <SendTo>
>is removed.
>What do i do wrong.
What's the problem exactly? Why/How you "echo this line ..."?

-- 
giulioo@pobox.com

____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions