Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Aug 2019 20:19:38 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r350613 - stable/12/usr.bin/printf
Message-ID:  <201908052019.x75KJcUQ088902@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Mon Aug  5 20:19:38 2019
New Revision: 350613
URL: https://svnweb.freebsd.org/changeset/base/350613

Log:
  MFC r350425: printf(1): Note that \c only works in %b strings
  
  PR:		238313

Modified:
  stable/12/usr.bin/printf/printf.1
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.bin/printf/printf.1
==============================================================================
--- stable/12/usr.bin/printf/printf.1	Mon Aug  5 20:15:46 2019	(r350612)
+++ stable/12/usr.bin/printf/printf.1	Mon Aug  5 20:19:38 2019	(r350613)
@@ -31,7 +31,7 @@
 .\"	@(#)printf.1	8.1 (Berkeley) 6/6/93
 .\" $FreeBSD$
 .\"
-.Dd April 21, 2014
+.Dd July 29, 2019
 .Dt PRINTF 1
 .Os
 .Sh NAME
@@ -87,8 +87,6 @@ are as follows:
 Write a <bell> character.
 .It Cm \eb
 Write a <backspace> character.
-.It Cm \ec
-Ignore remaining characters in this string.
 .It Cm \ef
 Write a <form-feed> character.
 .It Cm \en
@@ -289,7 +287,12 @@ The permitted escape sequences are slightly different 
 octal escapes are
 .Cm \e0 Ns Ar num
 instead of
-.Cm \e Ns Ar num .
+.Cm \e Ns Ar num
+and that an additional escape sequence
+.Cm \ec
+stops further output from this
+.Nm
+invocation.
 .It Cm n$
 Allows reordering of the output according to
 .Ar argument .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908052019.x75KJcUQ088902>