Skip to content

Commit

Permalink
printf(1): Note that \c only works in %b strings
Browse files Browse the repository at this point in the history
PR:		238313
Reported by:	Andras Farkas
MFC after:	1 week
  • Loading branch information
jillest committed Jul 29, 2019
1 parent df8aa95 commit 2bf7d92
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions usr.bin/printf/printf.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -289,7 +287,12 @@ The permitted escape sequences are slightly different in that
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 .
Expand Down

0 comments on commit 2bf7d92

Please sign in to comment.