faxspool accept stdin?

Russell Nelson (nelson@crynwr.com)
Wed, 26 Jan 2000 14:40:43 -0500 (EST)


Anybody know why faxspool doesn't accept stdin?  Here's my
email-to-fax script:

|perl -ne 'if (1../^$/) { s/nelson-fax-(.*)\@desk\.crynwr\.com/$1/ if /^To:/;print if /^(Date|From|To|Subject):/ or /^$/;} else { print }' >>/tmp/$$.txt;PATH=/usr/local/bin:$PATH /usr/local/bin/faxspool $EXT2 /tmp/$$.txt;X=$?;rm /tmp/$$.txt;exit $X

Should be would prettier if I didn't need to fiddle with that
/tmp/$$.txt stuff.

-- 
-russ nelson <sig@russnelson.com>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.