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 22:12:40 +0200, jonny.axelsson@systeam.se wrote:

>Do you have a good way of removing this string from the file
>after the string has been read as well?

perl -pe '$myvar=$2 if (s|(<Z>)(.*?)(<Z>)|$1$3|);END {print "myvar was:
$myvar\n" }' go1


____________________ 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