[6890] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Re: Solaris Pnews uses echo -n

daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Fri Jul 10 11:30:02 1998

Date: Fri, 10 Jul 1998 11:29:48 -0400 (EDT)
From: Jacob Morzinski <jmorzins@MIT.EDU>
To: bug-sipb@MIT.EDU, svalente@MIT.EDU
Cc: John Carr <jfc@MIT.EDU>
In-Reply-To: <199807101345.JAA11557@home-on-the-dome.MIT.EDU>

On Fri, 10 Jul 1998, John Carr wrote:
> Solaris Pnews uses echo -n.  Because my $PATH has /usr/bin before /usr/ucb,
> echo prints "-n" instead of suppressing the newline.

I looked into it a bit.  Pnews (and Rnmail) are part of trn; the
flags given to "echo" were determined at the time that trn was
compiled.  The person who did the compiling had a non-standard
path, so the Configure script picked up the other echo program,
and chose the wrong flags.

Sal, I've modifed Pnews and Rnmail in the Solaris bin directory
to do run-time determination of echo flags.  Yes, this is an ugly
way to do it, but the trn build system looks fragile enough that
I didn't want to spend time fixing Pnews.SH in the source
distribution.  For now I've left backup files Pnews~ and Rnmail~
in the Solaris bin directory.  I'll let you delete them, or
remove them myself after a few days.

-Jacob


home help back first fref pref prev next nref lref last post