forward incoming email to fax

Gert Doering (gert@greenie.muc.de)
Sun, 20 Sep 1998 22:50:44 +0200


Hi,

On Sat, Sep 19, 1998 at 10:21:41PM +0200, Herbert Betz wrote:
> #Shift 5 spaces to the right:
>   cp ./$faxfile ./$faxfile.bak && \
> (while read inp ; do echo "     $inp" ; done <./$faxfile.bak >./$faxfile)

Just for elegance:

sed -e 's/^/    /' <./$faxfile.bak >./$faxfile

>   /usr/bin/pbmtext -font ./cour25.pbm <./$faxfile \
>        |/usr/bin/pbm2g3 > ./$faxfile.g3

Or all in one wash:

sed -e 's/^/    /' <$faxfile | \
	pbmtext -font cour25.pbm | \
	pbm2g3 >$faxfile.g3

(./ is not really needed here, as the current directory is the default
anyway).
	
gert
-- 
Gert Doering
Mobile communications ... right now writing from *AWAY* :-)) 
... mobile phone: +49 177 2160221 ... or mail me:  gert@greenie.muc.de