summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/awk/awk.17
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/awk/awk.1 b/usr.bin/awk/awk.1
index 229c0658ccb..1ed637eab7c 100644
--- a/usr.bin/awk/awk.1
+++ b/usr.bin/awk/awk.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: awk.1,v 1.18 2003/12/18 20:22:51 jmc Exp $
+.\" $OpenBSD: awk.1,v 1.19 2003/12/19 09:27:36 jmc Exp $
.\" EX/EE is a Bd
.\"
.\" Copyright (C) Lucent Technologies 1997
@@ -707,6 +707,11 @@ BEGIN { # Simulate echo(1)
printf "\en"
exit }
.Ed
+.Pp
+Print an error message to standard error:
+.Bd -literal -offset indent
+{ print "error!" > "/dev/stderr" }
+.Ed
.Sh SEE ALSO
.Xr egrep 1 ,
.Xr lex 1 ,