Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/historical/nawk/bin awk(1): Document /dev/stdin &c ...
details: https://anonhg.NetBSD.org/src/rev/2ca83a8eac90
branches: trunk
changeset: 368325:2ca83a8eac90
user: uwe <uwe%NetBSD.org@localhost>
date: Tue Jul 05 16:21:35 2022 +0000
description:
awk(1): Document /dev/stdin &c magic names (NB: unrelated to fd(4))
diffstat:
external/historical/nawk/bin/awk.1 | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 063b9d0436e0 -r 2ca83a8eac90 external/historical/nawk/bin/awk.1
--- a/external/historical/nawk/bin/awk.1 Tue Jul 05 15:56:42 2022 +0000
+++ b/external/historical/nawk/bin/awk.1 Tue Jul 05 16:21:35 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: awk.1,v 1.24 2022/07/05 15:56:42 uwe Exp $
+.\" $NetBSD: awk.1,v 1.25 2022/07/05 16:21:35 uwe Exp $
.\"
.\" Copyright (C) Lucent Technologies 1997
.\" All Rights Reserved
@@ -344,6 +344,19 @@
.Ar expr
may be literal names or parenthesized expressions; identical string values in
different statements denote the same open file.
+For that purpose file names
+.Pa /dev/stdin ,
+.Pa /dev/stdout ,
+and
+.Pa /dev/stderr
+refer to program's
+.Va stdin ,
+.Va stdout ,
+and
+.Va stderr
+respecively (and are unrelated to
+.Xr fd 4
+devices of the same names).
.Ss Mathematical and Numeric Functions
AWK has the following mathematical and numerical functions built-in:
.Bl -tag -width Fn
Home |
Main Index |
Thread Index |
Old Index