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

source@mandoc.bsd.lv

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/mandoc-source

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 mandoc-source mandoc-source/ https://inbox.vuxu.org/mandoc-source \
		source@mandoc.bsd.lv
	public-inbox-index mandoc-source

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.mandoc.source


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git