incomplete faxes

Gert Doering (gert@greenie.muc.de)
Wed, 9 Sep 1998 08:19:31 +0200


Hi,

Herbert Betz wrote:
> I now found out, the problem for transmitting incomplete faxes was NOT
> sendfax but the following line in my script calling sendfax:
> 
> /bin/cat ./$faxfile | /usr/bin/sed 's/^/     /g' > ./$faxfile
> /usr/bin/pbmtext -font ./cour25.pbm <./$faxfile |/usr/bin/pbm2g3 >
>   ./$faxfile.g3
> /usr/sbin/sendfax $faxnr ./$faxfile.g3
> 
> The sed command disrupts/cripples some longer textfiles (probably because
> its input and output file were chosen to be the same ?)

Definitely.  Shell issue - behaviour of a command like the above is pretty
much undefined.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de