source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: do not use the echo(1) -n option, it is not portable; issue
@ 2021-09-19 12:28 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2021-09-19 12:28 UTC (permalink / raw)
  To: source

Log Message:
-----------
do not use the echo(1) -n option, it is not portable;
issue found on SUN Solaris 10

Modified Files:
--------------
    mandoc:
        configure

Revision Data
-------------
Index: configure
===================================================================
RCS file: /home/cvs/mandoc/mandoc/configure,v
retrieving revision 1.78
retrieving revision 1.79
diff -Lconfigure -Lconfigure -u -p -r1.78 -r1.79
--- configure
+++ configure
@@ -263,8 +263,8 @@ if [ -n "${CFLAGS}" ]; then
 else
 	COMP="${CC} ${DEFCFLAGS} -Wno-unused -Werror"
 fi
-echo -n "tested ${CC} -W: " 1>&2
-echo -n "testing ${CC} -W: " 1>&3
+printf "%s" "tested ${CC} -W: " 1>&2
+printf "%s" "testing ${CC} -W: " 1>&3
 runtest noop WFLAG || true
 
 if [ -n "${CFLAGS}" ]; then
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-19 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-19 12:28 mandoc: do not use the echo(1) -n option, it is not portable; issue schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).