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] multiline comments
Am 2005.09.21 13:39 schrieb(en) Joe:
I read that [multi line file] into a variable COMMENTS with procmail
COMMENTS = `cat $METAMAIL_TMPDIR/mm*` and ran
Does the variable contain line feeds?
The command output substitution in Bourne Shell (`command`) replaces
all linefeeds with spaces. If this is your problem you could use
something like this:
COMMENTS=""
cat $METAMAIL_TMPDIR/mm*|while read line
do
COMMENTS="$COMMENTS$line\n"
done
Bodo
____________________ 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@xxxxxxxxx*