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 Mon, 14 Oct 2002 18:55:51 +0200, jonny.axelsson@systeam.se wrote:

>I need a way of finding a start parameter and a end parmameter and
>then get the text between theses and then one more time between
>anouther pair of parameters to get the faxnumber.
$ echo -e "this is a test <Z>ciao<Z>\n2nd line" > go1
$ perl -ne 'print $1 if (m|<Z>(.*?)<Z>|);' go1
ciao$

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