summaryrefslogtreecommitdiff
path: root/usr.bin/wc
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2020-04-11 08:16:35 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2020-04-11 08:16:35 +0000
commit75acbb222694769c1089363d56af6fee95e2550d (patch)
treebdc201723525bc1f1771a532f4581623e290ac15 /usr.bin/wc
parentc80b717f71b631bbfd69ce0b1772ad20257dbff8 (diff)
downloadsrc-test-75acbb222694769c1089363d56af6fee95e2550d.tar.gz
src-test-75acbb222694769c1089363d56af6fee95e2550d.zip
wc(1): document SIGINFO handling in the manual page.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=359801
Diffstat (limited to 'usr.bin/wc')
-rw-r--r--usr.bin/wc/wc.114
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/wc/wc.1 b/usr.bin/wc/wc.1
index c31bb865385ea..12826dde68f0d 100644
--- a/usr.bin/wc/wc.1
+++ b/usr.bin/wc/wc.1
@@ -31,7 +31,7 @@
.\" @(#)wc.1 8.2 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd August 2, 2018
+.Dd April 11, 2020
.Dt WC 1
.Os
.Sh NAME
@@ -126,6 +126,18 @@ file name is displayed.
The prompt will accept input until receiving EOF, or
.Bq ^D
in most environments.
+.Pp
+If
+.Nm
+receives a
+.Dv SIGINFO
+(see the
+.Cm status
+argument for
+.Xr stty 1 )
+signal, the interim data will be written
+to the standard error output in the same format
+as the standard completion message.
.Sh ENVIRONMENT
The
.Ev LANG , LC_ALL