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] email2fax gateway question...



Georg Lerch wrote:


> I've almost reached my goal. I ve just to edit the script a little-
> 
> psfile=`find -s ${tmpdir}${unpack} -type f | \ 	sed -e
> '/'${head}'/d' -e '/'${body}'/d'`
> 
> this part doesn't work. sendfax.log says nothing to do. and find doesn't
> know a -s option.
> 
> but the part with ripmail works fine.


 Apologies. Obviously shot myself in the foot with a non portable *BSD
option :) Try:

psfile=`find ${tmpdir}${unpack} -type f | \
	sed -e '/'${head}'/d' -e '/'${body}'/d' | sort`

 The -s switch just puts the files in order, IIRC, so sort should make a
suitable replacement. That option was just so the files are supplied to
sendfax in the preferred order.


Matt

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




Project hosted by iFAX Solutions